« Previous Next »
Last post 11-27-2010 5:03 AM by mansooralia. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Oldest to newest Newest to oldest
Hi friends,
I use the latest windows installer form php.net. And I successfully make php to run either use ISAPI or CGI.
But the following returns blank page.
<? phpinfo(); ?>
Do I need to select additional module in PHP when installin it?
Thanks in advance!
What version of OS and IIS you are running to host PHP?
Check out these Bills Blogs - How to install PHP on IIS7 (RC1) Improve PHP on Windows and IISDemo - PHP - IIS7
In any case, you should have scriptmap/isapi configured to execute request for php.
HTH.
Cheers!Ganesh
Thank you. Both IIS 6 and IIS 7 return blank page. I think ISAPI is configured correctly, but seems the php windows installer doesn't install all of the required component.
http://www.php.net/downloads.php
I'm using PHP 5.2.3 installer
I don't know if there is additional component required.
Thank again for your time.
I compared another example and find out
<?php phpinfo(); ?> works, but
<? phpinfo(); ?> doesn't
It looks like configuration issue.
In your PHP.ini you have Short_Open_Tag turned off (which is probably not a bad idea).
http://us2.php.net/manual/en/language.basic-syntax.php#language.basic-syntax.phpmode
Thank you.
You have to restart the IIS too to make the php.ini changes get affected