Re: php_value error_log realtive path in 5.2.8

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andre Hübner wrote:

----- Original Message ----- From: "Nathan Rixham" <nrixham@xxxxxxxxx>
To: "Andre Hübner" <andre.huebner@xxxxxx>
Cc: <php-general@xxxxxxxxxxxxx>
Sent: Monday, January 12, 2009 11:19 AM
Subject: Re: php_value error_log realtive path in 5.2.8


Andre Hübner wrote:
Hi,

please can someone try to add a logging with .htaccess and use a relative path to logfile? I always get an open_basedir error...

open_basedir and document_root of domain points to: /path/path/
In /path/path/ is located the .htaccess with:
php_flag log_errors on
php_value error_log subpath/logfile.txt
(logfile.txt is writeable)

It just only works if path to logfile.txt is given absolut as /path/path/subpath/logfile.txt
The relative path works reproducable in php 5.2.6
Please can somebody confirm this behavior? May be a kind of bug? This behavior seems to be new to me...


Thanks,
Andre

have you checked that you're php 5.2.8 is definately using the correct php.ini?

yes, my php.ini should not be the problem
with php 5.2.6 i use the same version cause im my own packager.

Thanks,
Andre


sorry going through the obvious ones -
a: is the log file path ../subpath/logfile.txt
b: what happens if you set it to ./subpath/logfile.txt
c: check the values when you get_cfg_var() / ini_get() the values in question

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux