Not sure, are looking for something like this
<VirtualHost *:80>
ServerName example.com
DocumentRoot /var/www/domains/example.com/html
ErrorLog /var/www/domains/example.com/apache.error.log
CustomLog /var/www/domains/example.com/apache.access.log common
php_flag log_errors on
php_flag display_errors on
php_value error_reporting 30719
php_value error_log /var/www/domains/example.com/php.error.log
</VirtualHost>
The reason 30719
is used is below
All errors and warnings, as supported, except of level E_STRICT
prior to PHP 5.4.0. 32767 in PHP 5.4.x
, 30719 in PHP 5.3.x
, 6143 in PHP 5.2.x
, 2047
previously .
Read here for this.
You can use
php_value error_reporting 2147483647
The above number, according to documentation should enable 'all' errors irrespective of version, if you want a more granular setting, manually OR the values together, or run
Or see below
php_value error_reporting 6143 # for all errors notice, warnings, etc
php_value error_reporting 6135 #show warnings less strict