[PHP-DEV] PHP 4.0 Bug #5541: Wrong php.ini location returned by phpinfo() From: alain <email protected>
Date: 07/12/00

From: alain <email protected>
Operating system: Linux RedHat 5.2 2.0.36
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: Wrong php.ini location returned by phpinfo()

Live phpinfo :
http://www.onesite.org/phpinfo.php3

It reports that the location of php.ini is /usr/local/lib
though it's in the cgi-bin directory, and it's used
(session.gc_maxlifetime changed from 1440 to 1441)

As I have no admin rights on the server I had to install
it over the existing php binary, and I must set the env
variable LD_LIBRARY_PATH to the mysql librairies location.

cgi-bin/php is in fact this script :

#!/bin/sh
export LD_LIBRARY_PATH=/home/onesite/src/mysql_lib/
/www/onesite/cgi-bin/newphp -c /www/onesite/cgi-bin

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>