Jump to content

PHP Script Won't Run in IE


midwest_daniel

Recommended Posts

Trying to run my first PHP script. 

[Apache & PHP were installed from the same bundle].  Server is up. 

In the IE8 address bar I key in http://myServerName/folderInRootDir/script1.php for my script within the folder (referred to here as folderInRootDir) in wwwroot.  I get browser msg "IE cannot display the webpage."  I am using the correct server name per the config file. 

What am I missing?

Link to comment
https://forums.phpfreaks.com/topic/175183-php-script-wont-run-in-ie/
Share on other sites

Well, not much info here but I'll give you a few questions to answer so you can get some help:

Have you tried a plain HTML document on the server?

Is this your local computer that you have set a test server up on?

Have you tried "localhost", 127.0.0.1, or the IP address assigned to the computer that the server is running on for the domain name (after the http://)?

Though Apache and PHP were bundled, did you double check to see that Apache aliases were set for PHP?

Are you using some domain name with your home server and if so, have you used a service like openDNS to point the domain to your homes IP address?

 

Answering these questions will allow someone like myself to get you the answer you need to resolve your issue.

 

Handy PHP

To answer your questions:

Have you tried a plain HTML document on the server?  Yes.  No dice.

Is this your local computer that you have set a test server up on?  Yes.

Have you tried "localhost", 127.0.0.1, or the IP address assigned to the computer that the server is running on for the domain name (after the http://)?  I tried localhost instead of the server name, and that works : )

Though Apache and PHP were bundled, did you double check to see that Apache aliases were set for PHP?  No.

Are you using some domain name with your home server and if so, have you used a service like openDNS to point the domain to your homes IP address?  No and No.

 

At the moment I seem to be OK using localhost.  Thanks.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.