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

Go Back   LiteSpeed Support Forums > External Applications > PHP > which php.ini should I change?

Reply
 
Thread Tools Display Modes
  #1  
Old 03-25-2007, 07:18 AM
hichew hichew is offline
Member
 
Join Date: Mar 2007
Location: USA
Posts: 27
Default which php.ini should I change?

for some reason i can't send email using php mail() command.
and seems like the sendmail path is still empty in the php.ini, but i dont know which one should I edit.

/opt/lsws/admin/conf/php.ini
/opt/lsws/admin/misc/php.ini
/opt/lsws/php/php.ini
/root/php-5.2.1/php.ini-dist
/root/php-5.2.1/php.ini-recommended
/usr/local/lsws/admin/conf/php.ini
/usr/local/lsws/admin/misc/php.ini
/usr/local/lsws/php/php.ini
/usr/local/lsws-3.0/admin/conf/php.ini
/usr/local/lsws-3.0/admin/misc/php.ini
/usr/local/lsws-3.0/php/php.ini


and do i need to restart something after make changes?
Reply With Quote
  #2  
Old 03-25-2007, 09:31 AM
xing xing is offline
LiteSpeed Staff
 
Join Date: Oct 2003
Location: Los Angeles, California
Posts: 380
If you installed LiteSpeed to "/opt/lsws" then you need to modify "/opt/lsws/conf/php.ini".
Reply With Quote
  #3  
Old 03-25-2007, 06:23 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
It depends on whether you compile your own php binary or use our pre-built binary.

Anyway, the phpinfo() page should tell you which php.ini is used.
Reply With Quote
  #4  
Old 03-31-2007, 03:46 PM
hichew hichew is offline
Member
 
Join Date: Mar 2007
Location: USA
Posts: 27
thanks for the response.
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 09:48 PM.



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