The following script does not display error messages in the browser. Instead, it triggers an HTTP Error 500 response.
<?php error_reporting(E_ALL); ini_set('display_errors', 'On'); phpinfo(); echo "test" asdf
Ideas? This is a basic php5 / apache2 installation on ubuntu. httpd.conf is empty, no .htaccess.
An error message is displayed in the error.log file:
syntax error, unexpected T_STRING, pending ',' or ';'
what is right.
EmpireJones
source share