LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Where is the php.ini file?

Reply
 
Thread Tools Display Modes
  #1  
Old 11-17-2012, 12:37 PM
memento memento is offline
New Member
 
Join Date: Nov 2012
Posts: 1
Default 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.

Last edited by memento; 11-17-2012 at 12:40 PM..
Reply With Quote
  #2  
Old 11-17-2012, 02:19 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,338
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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 04:39 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.