Modifications

7 octets ajoutés ,  10 août 2020 à 18:13
Ligne 43 : Ligne 43 :     
====php.ini error_log directive====
 
====php.ini error_log directive====
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'''):
 
<pre>
 
<pre>
 
error_log = /home/mysite/mylogs/php_error.log
 
error_log = /home/mysite/mylogs/php_error.log
'''Experienced''', maintainer, Administrateurs, sysops
5 027

modifications