I am running the Lighttpd web server using FastCGI and the web server does not output Parse Parse errors.
My php.ini file has the following settings:
error_reporting = E_ALL
display_errors = Off
display_startup_errors = Off
log_errors = On
html_errors = On
I include error reporting for development in my PHP scripts like this (with redundancy for other environments):
error_reporting( E_ALL );
ini_set( 'display_errors', 1 );
ini_set( 'html_errors', 'On' );
Most errors are displayed normally. There are no errors in the parse. The following is an example of code that generates a parsing error. The error is not displayed by the Lighttpd web server, but when executed from the command line, since it does not use FastCGI. (note the missing concatenation operator):
<?php echo 'foo' 'bar'; ?>
, display_errors = On php.ini, FastCGI Lighttpd, PHP- ini_set( 'display_errors', 0 ).
php.ini. PHP FastCGI?