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>