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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

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: Mon May 13 10:01:32 2024 UTC