Rather than put the absolute path to an error_log in my .htaccess, I would like to find a way to specify it relative to the .htaccess file (or similar):
php_value error_log %{DOCUMENT_ROOT}/libs/log/error/PHP_errors.log
It would be something like I would want to do, but this doesn't seem to work. If I specify the absolute, it does work.
./path/error.log?php_value error_reporting 21(equals toerror_reporting(E_ERROR | E_PARSE | E_CORE_ERROR)) Here you can find other values: PHP: Predefined Constants