LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Cant find real php.ini (http://www.litespeedtech.com/support/forum/showthread.php?t=1417)

Giorgi 10-13-2007 05:12 PM

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

mistwang 10-13-2007 06:45 PM

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.

Giorgi 10-14-2007 06:25 AM

Thank you very much :)


All times are GMT -7. The time now is 09:00 AM.