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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > php.ini does not load.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-24-2009, 10:36 AM
bbob bbob is offline
New Member
 
Join Date: Feb 2009
Posts: 2
Default php.ini does not load.

I have installed litespeed and compiled php which works.

Then when asking for php info I get the following info:

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

I have a php.ini file in /usr/local/lsws/lsphp5/lib/php.ini why does it not load.
Reply With Quote
  #2  
Old 02-24-2009, 10:41 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
maybe a permission problem. only root user can read it?
Reply With Quote
  #3  
Old 02-24-2009, 12:02 PM
bbob bbob is offline
New Member
 
Join Date: Feb 2009
Posts: 2
owner is root, group is root, what does the permission need to be
Reply With Quote
  #4  
Old 07-11-2009, 08:32 AM
ch1v4s ch1v4s is offline
New Member
 
Join Date: Jul 2009
Posts: 7
I have same problem, but i dont have php.ini in /usr/local/lsws/lsphp5/lib

tried locate php.ini give me
/usr/local/Zend/etc/php.ini
/usr/local/lib/php.ini
/usr/local/lsws/add-ons/cpanel/lsws_whm_plugin/php.ini
/usr/local/lsws/add-ons/directadmin/php.ini
/usr/local/lsws/admin/conf/php.ini
/usr/local/lsws/admin/misc/php.ini
/usr/local/lsws/php/php.ini

which one to copy to /usr/local/lsws/lsphp5/lib ?
Reply With Quote
  #5  
Old 07-11-2009, 07:31 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
I think /usr/local/lib/php.ini is a link to /usr/local/Zend/etc/php.ini.
You can copy /usr/local/lib/php.ini over.
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:28 PM.



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