ballhogjoni Posted October 7, 2010 Share Posted October 7, 2010 Hey guys/gals not sure if this post is in the right forum, but I am getting a PHP: syntax error, unexpected '&' in /private/etc/php.ini on line 110 in my apache log file. Not sure what is wrong with line 110 because I think that its correct syntax. Here is line 109-111 error_reporting Default Value: E_ALL & ~E_NOTICE Development Value: E_ALL | E_STRICT Any ideas? Thanks Quote Link to comment Share on other sites More sharing options...
rwwd Posted October 7, 2010 Share Posted October 7, 2010 It should read:- ; error_reporting ; Default Value: E_ALL & ~E_NOTICE ; Development Value: E_ALL | E_STRICT ; Production Value: E_ALL & ~E_DEPRECATED Looks like you have got the semi-colons missing for some reason, in which case this will knacker the ini file. Further down in the ini file you should have this:- ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.) ; Default Value: E_ALL & ~E_NOTICE ; Development Value: E_ALL | E_STRICT ; Production Value: E_ALL & ~E_DEPRECATED ; http://php.net/error-reporting error_reporting = E_ALL | E_STRICT <-- this line is the one you need to change the value on All the others are commented out. Rw Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.