![]() |
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 |
Read Full: | Cpanel Logs Tutorial |
Category: | Web Tutorial |
Sub Category: | Cpanel Logs Tutorial |
Uploaded by: | Admin |
Views: | 119 |
Reffered: https://www.ecenica.com/support/answer/disable-php-error-logs/