Partner and Community Forums
phpinfo() returns blank page, please help?
Last post Nov 27, 2010 09:03 AM by mansooralia
Jun 20, 2007 07:47 AM|LINK
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!
Jun 20, 2007 09:51 AM|LINK
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 IIS
Demo - PHP - IIS7
In any case, you should have scriptmap/isapi configured to execute request for php.
Jun 21, 2007 01:43 AM|LINK
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.
PHP 5.2.3 installer
I don't know if there is additional component required.
Jun 21, 2007 01:50 AM|LINK
Thank again for your time.
I compared another example and find out
<?php phpinfo(); ?> works, but
<? phpinfo(); ?> doesn't
It looks like configuration issue.
Jun 21, 2007 02:48 AM|LINK
In your PHP.ini you have Short_Open_Tag turned off (which is probably not a bad idea).
Jun 22, 2007 01:48 AM|LINK
Nov 27, 2010 09:03 AM|LINK
You have to restart the IIS too to make the php.ini changes get affected