![]() |
By default, PHP errors and warnings generated by your websites are logged in error_log files in the directory where your PHP files are located. The PHP error_log files can grow to a large size. If you do not need the error_log file you can disable PHP error logging using one of the three ways listed below:
|
<IfModule php7_module> php_flag log_errors off
</IfModule>
How to disable PHP error logs | Cpanel Logs Tutorial |
Category
: |
Web Tutorial |
Sub Category
: |
Cpanel Logs Tutorial |
Uploaded by
: |
Admin |
Read Article https://horje.com/learn/1434/reference