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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > Unable to load php.ini

Reply
 
Thread Tools Display Modes
  #1  
Old 02-08-2010, 10:51 AM
alex alex is offline
Senior Member
 
Join Date: Jan 2006
Posts: 51
Default Unable to load php.ini

I am using LS 4.0.12, I have php 5.2.12 compiled through litespeed. Phpinfo.php shows the path /usr/local/lsws/lsphp5/lib for the php.ini file but the loaded configuration file shows (none)
When I run ./lsphp5 -i from the fcgi-bin directory it shows
Loaded Configuration File => /usr/local/lsws/lsphp5/lib/php.ini
./lsphp5 -v does not show any startup errors

I have made sure the web site I have the phpinfo on is set to use the server lsphp.
The only odd thing is stderr.log is showing
3:01:26.851 [STDERR] curl: try 'curl --help' or 'curl --manual' for more information
and nothing else
Reply With Quote
  #2  
Old 02-08-2010, 06:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
There is a permission problem with /usr/local/lsws/lsphp5/lib.

try

sudo -u <user_lsphp5_run_as> ./lsphp5 -i
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 01:02 PM.



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