Forum Moderators: coopster

Message Too Old, No Replies

Error parsing php.ini -- serious error?

Website is working!

         

craig1972

5:09 pm on Apr 29, 2009 (gmt 0)

10+ Year Member



Hi. I realize that when we changed the php.ini file recently we included lines in the .ini files where comments began with a perl style "#" instead of the php.ini comments symbol which is a ";".

When we restarted apache this did not cause any errors. The site worked normally! But our error file log was full of

"Error parsing /usr/lib/php.ini on line 3".

This line 3 was the perl style comment. We soon fixed the comments to ";" but I wonder if we should be worried that something in the application would be affected? The site seemed to be working to us tech admins but I am trying to pre-empt any indignation coming from the software guys. Thanks!

g1smd

9:01 pm on Apr 29, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I guess you just filled the log file, but nothing else was affected.

That's a cautionary tale to check the error logs even when everything appears to be working.