This is not the first time I feel WAMP Server is too sensitive on errors. It seems there should be some configurations to decrease it’s sensitivity to PHP errors.
I have a script which is run normally on Linux production server (CENTOS 5.8 + Apache + MySQL) but when executed by WAMP server on Windows 7 Ultimate(64bit) the following error is shown:
syntax error, unexpected end of file in ...
Here I’m not curious about the condition this error occures (I did Google it and find out why it ocurs), my question is why I have experienced many scripts which run normally on production servers while WAMP Server have problem with them. How to down-grade error-level sensitivity of it ?
WAMP Server default value for
short_open_tagis 0 (off). Editing php.ini solved the problem: