![]() |
[solved] PHP config not loading.....
Hi. Everything seems to be working fine, however, in the PHP info, it says there is no loaded config file. And what's weirder is it says none is loaded even if the php.ini file location is clearly defined, and the file actually exists.
[root@node1 fcgi-bin]# pwd /usr/local/lsws/fcgi-bin [root@node1 fcgi-bin]# ./lsphp5 -i | grep Configuration Configuration File (php.ini) Path => /etc/conf/php/5.2.17/php.ini Loaded Configuration File => (none) Configuration [root@node1 fcgi-bin]# [root@node1 fcgi-bin]# cd /etc/conf/php/5.2.17 [root@node1 5.2.17]# ls php.ini [root@node1 5.2.17]# So how come it's not being loaded? Please advice. Thanks |
Quote:
Configuration File (php.ini) Path => /etc/conf/php/5.2.17 so to make it work without rebuilding lsphp5, #cd /etc/conf/php/5.2.17 #mv php.ini php.ini.save #mkdir php.ini #mv php.ini.save php.ini/ |
Thanks!! That fixed it. I also replaced lsphp and /usr/bin/lsphp and /usr/bin/php with lsphp-5.2.17. now everything works fine.
thanks |
| All times are GMT -7. The time now is 03:45 PM. |