Installing PHP under Windows: Further Configuration of WAMP
In his last article, Matthew showed us how to successfully install and configure WAMP (Windows, Apache, MySQL and PHP) to setup a development environment. In this next piece, learn how to make use of the Apache and PHP configuration files to further enhance your server needs.
Installing PHP under Windows: Further Configuration of WAMP - Configuring PHP (Page 3 of 4 )
Now we are going to edit php.ini in the Apache folder (one up from the conf folder). Anything following the semi-colon character (;) is commented out, to uncomment it, simply delete the semi-colon.
short_open_tag = On This should be set to off. This will not allow us to use the short <? ?> style tags. Although there are ways to get around this, this setting will force us to code in the 'proper' and more portable way (<?php ?>).
asp_tags = Off Who wants to use ASP style <% %> tags (apart from ASP developers)?