Where is the php.ini file?

Discussion in 'General' started by memento, Nov 17, 2012.

  1. memento

    memento New Member

    We installed using the installer. And then since php5 is not included in the installer (god knows why) we installed php5 using the web interface. Where is the php.ini location?

    I almost deleted every php.ini file on this server, then restarted the lswssws whatever thing. Still phpinfo() shows all the information. Is that embedded in your binaries???

    Whatever I change phpinfo() does not change.

    Sorry I would never use this crap myself. I am a software developer and trying to help a client. Never used this (and I hope I will never use it again).


    phpinfo() shows this:

    Configuration File (php.ini) Path /usr/local/lsws/lsphp5/lib

    Even if I delete this, and every other php.ini on the server it still shows the same info.
    Last edited: Nov 17, 2012
  2. webizen

    webizen Well-Known Member

    do /usr/local/lsws/fcgi-bin/lsphp5 -i | grep "Loaded Configuration File"

    if no php.ini in the Configuration File Path, lsphp5 will use default for everything.

Share This Page