Page 1 of 1

php.ini location

Posted: 11 Dec 2006, 14:44
by Doc
First.....Great script. tnx for this fine piece of freeware.

`k when you run a security check it wil check: /usr/local/lib/php.ini for security.

Well i installed Zend so my php.ini is located at /usr/local/Zend/etc/php.ini and the security checks don`t apply to /usr/local/lib/php.ini.

So some people could go editing the wrong php.ini

Correct me if `im wrong :)

Out

Posted: 11 Dec 2006, 16:38
by chirpy
/usr/local/lib/php.ini should be a symlink to /usr/local/Zend/etc/php.ini if you have installed Zend Optimizer correctly, so it does not matter which file you edit. In fact, it's better to edit it via the /usr/local/lib/php.ini symlink since that's the reference that php is looking at.

Posted: 11 Dec 2006, 16:53
by Doc
`k guess i installed Zend not correctly then :)

Posted: 11 Dec 2006, 17:05
by chirpy
The simplest way to install it is to use:

/scripts/installzendopt

Posted: 12 Dec 2006, 02:06
by Serra
Tried that script, it appears that when you run the script, it uninstalls PHPSuExec as my PHP is now running under Apache instead of CGI.

Posted: 12 Dec 2006, 09:40
by chirpy
/scripts/installzendopt should have nothing whatsoever to do with phpsuexec - sounds like something else went awry during a apache/php update.

Posted: 12 Dec 2006, 15:38
by Serra
Yea, I'm guessing it did. I ran Update Apache and PHPSuExec was back along with Zend, so it seems to be an easy fix. Odd that it would do that.