Re: PHP 4.0 Bug #5541: Wrong php.ini location returned by phpinfo()
| From: | Stanislav Malyshev | Date: | Wed, 12 Jul 2000 08:01:56 +0000 |
| Subject: | Re: PHP 4.0 Bug #5541: Wrong php.ini location returned by phpinfo() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-24267@lists.php.net to get a copy of this message | ||
In fact, phpinfo() is displaying configured in path, which can be not what
it's using if -c is used. I do not know if it's good. What do people
think?
>> 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
--
Stanislav Malyshev stas@zend.com
+972-3-6139665