note 43847 deleted from function.error-log by nlopess
| From: | nlopess@php.net | Date: | Tue, 06 Jul 2004 13:44:14 +0000 |
| Subject: | note 43847 deleted from function.error-log by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-72761@lists.php.net to get a copy of this message | ||
Note Submitter: CAR aatt DRAGOMAN ddoott ORG
----
I could not find the syntax to set "error_log" in "php.ini" relative to the
ServerRoot or similar. For example:
error_log = "ServerRoot/logs/php-error.txt"
It is possible to set it relative to the file being executed. Lets assume the following
configuration:
Directory structure
./Myserver/ServerRoot/logs
./MyServer/DocumentRoot/file-1.php
./MyServer/DocumentRoot/lower/file-2.php
php.ini
error_log = "../../ServerRoot/logs/php-error.txt"
This will work for "file-1.php", but not for "file-2.php".
The intention is to have configurations files (httpd.conf and php.ini) without absolute paths.
Hits ?