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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Cant find real php.ini

Reply
 
Thread Tools Display Modes
  #1  
Old 10-13-2007, 05:12 PM
Giorgi Giorgi is offline
Member
 
Join Date: Oct 2007
Posts: 44
Unhappy Cant find real php.ini

Hello there

I have migrated from Apache of DirectAdmin to LSWS (got license), Then I updated my php to latest version via tutorial that I found here.

now the problem is I dont get wich php.ini does my php use, on locate php.ini I get:


Code:
/opt/lsws/admin/conf/php.ini
/opt/lsws/admin/misc/php.ini
/opt/lsws/conf/php.ini
/root/lsws/admin/conf/php.ini
/root/lsws/admin/misc/php.ini
/root/lsws/php/php.ini
/root/php-5.2.4/php.ini-dist
/root/php-5.2.4/php.ini-recommended
/usr/local/Zend/etc/php.ini
/usr/local/directadmin/customapache/php-4.4.7/php.ini-dist
/usr/local/directadmin/customapache/php-4.4.7/php.ini-recommended
/usr/local/directadmin/customapache/php-5.2.4/php.ini-dist
/usr/local/directadmin/customapache/php-5.2.4/php.ini-recommended
/usr/local/lib/php.ini
/usr/local/lib/php.ini-zend_optimizer.bak
and my php info says:

Code:
Configuration File (php.ini) Path  ../php
I tried to change upload_max_filesize in all that php.ini files and restarting lsws but it still remains 2M.

any advice?

thank you
Reply With Quote
  #2  
Old 10-13-2007, 06:45 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You should copy your php.ini to /opt/lsws/php/php.ini. I think upgrade your LSWS install from a earlier installation. You may need to create /opt/lsws/php directory.
Reply With Quote
  #3  
Old 10-14-2007, 06:25 AM
Giorgi Giorgi is offline
Member
 
Join Date: Oct 2007
Posts: 44
Thank you very much
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:19 AM.



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