php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5541 Wrong php.ini location returned by phpinfo()
Submitted: 2000-07-12 19:31 UTC Modified: 2000-07-25 12:53 UTC
From: alain at onesite dot org Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.1pl2 OS: Linux RedHat 5.2 2.0.36
Private report: No CVE-ID: None
 [2000-07-12 19:31 UTC] alain at onesite dot org
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



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-25 12:53 UTC] stas@php.net
Fixed in CVS.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 12 22:01:33 2024 UTC