IIS 7 and Above
PHP Manager on IIS7.5 on Windows 7 x64
Last post Nov 01, 2010 05:51 PM by ruslany
Oct 27, 2010 08:31 AM|GregLight|LINK
I am trying to get PHP up and running on my Windows 7 x64 installation.
I have successfully installed the PHP Manager (via the web platform installer) onto my server. That went fine, I registered the version of PHP with the IIS server, did a check on phpinfo(); and everything worked fine.
However, when I go to browse to any PHP file it spits out the PHP code as raw text. This tells me that the handlers are not registered correctly, however when I go to look at the two created *.php handlers they look to be valid against everything I have
Has anyone hit this issue? Is there something I am missing?
Any ideas are welcome.
Thanks - Greg.
Nov 01, 2010 05:51 PM|ruslany|LINK
If the phpinfo() shows correctly, but all the other PHP code shows up as a raw text then maybe your PHP code uses short tags, e.g. <? echo 'foobar'; ?>, instead of <?php echo 'foobar'; ?>. If that's the case then you can use php.ini directive short_open_tag.