Tag-Archive for » PHP Parse error «

PHP Parse error: syntax error, unexpected T_STRING?

If you receive following error in the error logs

” PHP Parse error: syntax error, unexpected T_STRING”
Then you can add following line in the .htaccess file

php_flag short_open_tag X

Or

If your server is SuExec enabled then you can use following code in php.ini file
short_open_tag = X