PHP 4.0 Bug #5541: Wrong php.ini location returned by phpinfo()
| From: | alain at onesite dot org | Date: | Wed, 12 Jul 2000 23:31:12 +0000 |
| Subject: | PHP 4.0 Bug #5541: Wrong php.ini location returned by phpinfo() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24244@lists.php.net to get a copy of this message | ||
From: alain@onesite.org
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