You must set the '''php.ini error_log directive''' with the full path to the PHP error log for the site. Error logs can be located above the public_html for greater security (recommended.) In a local WAMP server you can edit it directly into the WAMPS php.ini file. On a shared hosting server you may be able to add a php.ini file to your root directory with just this directive to override the master php.ini. Some hosts allow a user.ini to serve the same purpose. See [[PHP error log]] for additional information on setting up error logs. The directive will look something like this ('''note the absolute server path'''):
+
You must set the '''php.ini error_log directive''' with the full server path to the PHP error log for the site. Error logs can be located above the public_html for greater security (recommended.) In a local WAMP server you can edit it directly into the WAMPS php.ini file. On a shared hosting server you may be able to add a php.ini file to your root directory with just this directive to override the master php.ini. Some hosts allow a user.ini to serve the same purpose. See [[PHP error log]] for additional information on setting up error logs. The directive will look something like this ('''note the absolute server path'''):