I've been working on gettting things just right for a PHP enabled server with MySQL connection for many days. As of now my PHP Manager seems to be working in IIS version 7.5 and the activation looks to be set up as it should. I've made the appropriate
modifications to get fastCGI running. However where as before I set up my PHP Manager module I could see the phpinfo.php page just fine in my browser, now it no longer loads but rather gives a 404 error message. I had to install the PHP Manager after several
days of trouble shooting to get the MYSQL, MYSQLI API extension to be reckognized. So now that the extensions are being reckognized and most of my worries seem to be resolved, damned if PHP doesn't seem to be working in my browser any longer. I've sent this
to the FAST CGI forum for some help, but was wondering if anyone here could suggest something. For those that care... my other thread is
http://forums.iis.net/t/1195370.aspx/1?Getting+lt+php+info+gt+to+update+changes+from+php+ini+file .
I'm off to work for now, but thanks for any INPUT!
Are there any error being reported? If not, you can add the following code to the php script, so that errors will be shown in the browser instead of a blank page.
Thanks for replying. Unfortunately the error_reporting script didn't return a browser response, just "404 Webpage can not be found." Anyother html page from same
http://localhost/somepage.html reads fine though. Obviously an issue with php.
Tinkered with php.ini file including... "error_reporting=On" changed ... mysql_default_user='current user name' now <?php phpinfo() ?> is working.. ( : D
JFWily2
13 Posts
Any Quick Troubleshoot to get PHP running on webserver?
Jan 28, 2013 09:56 PM|LINK
Hi,
I've been working on gettting things just right for a PHP enabled server with MySQL connection for many days. As of now my PHP Manager seems to be working in IIS version 7.5 and the activation looks to be set up as it should. I've made the appropriate modifications to get fastCGI running. However where as before I set up my PHP Manager module I could see the phpinfo.php page just fine in my browser, now it no longer loads but rather gives a 404 error message. I had to install the PHP Manager after several days of trouble shooting to get the MYSQL, MYSQLI API extension to be reckognized. So now that the extensions are being reckognized and most of my worries seem to be resolved, damned if PHP doesn't seem to be working in my browser any longer. I've sent this to the FAST CGI forum for some help, but was wondering if anyone here could suggest something. For those that care... my other thread is http://forums.iis.net/t/1195370.aspx/1?Getting+lt+php+info+gt+to+update+changes+from+php+ini+file .
I'm off to work for now, but thanks for any INPUT!
JamieFurr
539 Posts
Re: Any Quick Troubleshoot to get PHP running on webserver?
Jan 28, 2013 10:59 PM|LINK
Hi,
Are there any error being reported? If not, you can add the following code to the php script, so that errors will be shown in the browser instead of a blank page.
<? php error_reporting(E_ALL); ini_set('display_errors', '1'); phpinfo() ?>MCSA, Network +, A+
Please 'Mark as Answer' if this post helps you.
OrcsWeb: Managed Windows Hosting Solutions
"Remarkable Service. Remarkable Support."
JFWily2
13 Posts
Re: Any Quick Troubleshoot to get PHP running on webserver?
Jan 29, 2013 04:54 AM|LINK
Thanks for replying. Unfortunately the error_reporting script didn't return a browser response, just "404 Webpage can not be found." Anyother html page from same http://localhost/somepage.html reads fine though. Obviously an issue with php.
Thx.
JFWily2
13 Posts
Re: Any Quick Troubleshoot to get PHP running on webserver?
Jan 29, 2013 05:31 AM|LINK
Tinkered with php.ini file including... "error_reporting=On" changed ... mysql_default_user='current user name' now <?php phpinfo() ?> is working.. ( : D