1. The forums will be archived and moved to a read only mode in about 2 weeks (mid march).

Serverlog and php version

Discussion in 'Help' started by Leselampe, Jul 8, 2017.

  1. Leselampe

    Leselampe Spider Jockey

    Messages:
    28
    Ola !
    When i write a bug report, i search a lot for the php-version.
    Would it be feasible to log the php version in the server log ?

    Maybe it would also be possible to rearrange the logitems in the server log with the order and content to copy and paste it in github "new issue" "OS and versions" ?

    What do you think?
    cu
    sonnenwerk
     
  2. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    The server log is to litterally log whats on the console. We dont need the PHP version there.
     
  3. robske_110 (Tim)

    robske_110 (Tim) Wither Skeleton Poggit Reviewer

    Messages:
    1,342
    GitHub:
    robske110
    Well, the server could write the php version on startup. That might help users get their php version.
    Another thing Leselampe suggested is even more interesting, making something like a command that gives out preformated markdown with all the version info. But to do that we finally need a proper way to inject git hashes into the builds.
     
    Thunder33345 likes this.
  4. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    Thats already implemented
     
  5. dktapps

    dktapps Administrator Staff Member PMMP Team

    Messages:
    774
    GitHub:
    dktapps
    Code:
    bin/php7/bin/php -v
    
     
    HimbeersaftLP and SOFe like this.
  6. Leselampe

    Leselampe Spider Jockey

    Messages:
    28
    O/
    Cant find "php" in my server.log or konsole.log (at least not until Pe Version dev#217. where can i find the lovely line ?
     
  7. TheDiamondYT

    TheDiamondYT Zombie

    Messages:
    298
    GitHub:
    TheDiamondYT1
    No the git hashes bit in crashdumps
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.