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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alain at onesite dot org
New email:
PHP Version: OS:

 

 [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

Pull Requests

History

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