I've just installed Apache and PHP. Apache appears to run php correctly, but it treats my php as comments when I delimit it with simply <?
; it appears only to run code delimited with <?php
This is a problem for me because I am creating a development environment for a pretty sizeable website which I did not build. (Don't want to have to go through hundreds of files and change a lot of tags.)
What can I do to get it to treat all <?
tags as php start tags?
Details:
Running Apache 2.2.19, PHP 5.2.17, Windows XP
To get Apache to run PHP, I added the following lines to the config file:
LoadModule php5_module "C:/Program Files/php/php5apache2_2.dll"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
PHPIniDir "C:/Program Files/php"