note 43847 added to function.error-log

From: Date: Tue, 06 Jul 2004 11:33:19 +0000
Subject: note 43847 added to function.error-log
Groups: php.notes 
Request: Send a blank email to php-notes+get-72752@lists.php.net to get a copy of this message
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 ? ---- Manual Page -- http://www.php.net/manual/en/function.error-log.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+43847 Delete -- http://master.php.net/manage/user-notes.php?action=delete+43847&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+43847&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#72752) next »