LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Where is the php.ini file? (http://www.litespeedtech.com/support/forum/showthread.php?t=6376)

memento 11-17-2012 12:37 PM

Where is the php.ini file?
 
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).

edit:

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.

webizen 11-17-2012 02:19 PM

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.


All times are GMT -7. The time now is 03:22 PM.