Search
Home IIS.NET Forums Partner and Community Forums PHP Community phpinfo() returns blank page, please help?
Last post Nov 27, 2010 09:03 AM by mansooralia
67 Posts
Jun 20, 2007 07:47 AM|LINK
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!
551 Posts
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.
HTH.
Cheers! Ganesh
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.
http://www.php.net/downloads.php
I'm using 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.
8 Posts
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).
http://us2.php.net/manual/en/language.basic-syntax.php#language.basic-syntax.phpmode
Jun 22, 2007 01:48 AM|LINK
Thank you.
1 Post
Nov 27, 2010 09:03 AM|LINK
You have to restart the IIS too to make the php.ini changes get affected
GeorgeZ
67 Posts
phpinfo() returns blank page, please help?
Jun 20, 2007 07:47 AM|LINK
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!
ganeshanekar
551 Posts
Re: phpinfo() returns blank page, please help?
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.
HTH.
Cheers!
Ganesh
GeorgeZ
67 Posts
Re: phpinfo() returns blank page, please help?
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.
http://www.php.net/downloads.php
I'm using PHP 5.2.3 installer
I don't know if there is additional component required.
GeorgeZ
67 Posts
Re: phpinfo() returns blank page, please help?
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.
Andy Schmidt
8 Posts
Re: phpinfo() returns blank page, please help?
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).
http://us2.php.net/manual/en/language.basic-syntax.php#language.basic-syntax.phpmode
Andy Schmidt
GeorgeZ
67 Posts
Re: phpinfo() returns blank page, please help?
Jun 22, 2007 01:48 AM|LINK
Thank you.
mansooralia
1 Post
Re: phpinfo() returns blank page, please help?
Nov 27, 2010 09:03 AM|LINK
You have to restart the IIS too to make the php.ini changes get affected