Re: [PHP-INSTALL] php and iis 7
[email protected] ("Jorge F. Hernandez") Mon, 25 Mar 2013 18:24:21 -0400
| Newsgroups | php.install |
|---|---|
| Message-ID | <[email protected]> |
If you are having problems with IIS loading PHP scripts, try using this
to enable it:
http://phpmanager.codeplex.com/
That worked for me when IIS was having problems loading PHP.
Signature
Jorge Hernandez
http://www.fsbcomputers.com/images/DG.jpg
165 East 115th Street #4B
New York, NY 10029
<http://maps.google.com/maps/place?ftid=0x89c2f6060f4322e5:0x3e94a672ba2fe50e&q=165+East+115+Street,+New+York,+ny+100129&hl=en&ved=0CA0Q-gswAA&sa=X&ei=ChRZTqDEOKG8zgT5qvGiDQ>
[email protected] <mailto:[email protected]>
tel:
fax:
mobile:
646-403-9802
646-519-4352
646-262-1908
On 03/25/2013 12:23 PM, Harrison, Roberto wrote:
> I have an html page (iisstart.htm) which calls a php program running successfully with MySQL from the server where it is installed. I simply launch the iisstart.htm file by double clicking on it as I am logged into the server. It all works exactly the way I want it to locally.
>
> I have gone through the following steps in enabling PHP processing on this server:
>
> 1. In the "Actions" pane click "Add Module Mapping...";
>
> 1. In the "Add Module Mapping" dialog enter the following:
>
> * Request path: *.php
> * Module: FastCgiModule
> * Executable: C:\[Path to PHP installation]\php-cgi.exe
> * Name: PHP_via_FastCGI
>
> 1. Click "Request Restrictions" button and then configure the mapping to invoke handler only if request is mapped to a file or a folder;
>
> 1. Click OK on all the dialogs to save the configuration.
>
> This all seems to be properly setup. If I go to another machine and type in the IP address of this server, the main iisstart.htm file gets displayed as I expect it to. But if I click on the submit button on this page running through a browser, which calls a php file, I get an error saying:
>
> Unable to connect
> Firefox can't establish a connection to the server at localhost.
> The site could be temporarily unavailable or too busy. Try again in a few
> moments.
> If you are unable to load any pages, check your computer's network
> connection.
> If your computer or network is protected by a firewall or proxy, make sure
> that Firefox is permitted to access the Web.
>
> The URL at this point is
>
> http://localhost/DisplayMCWPubs.php
>
> which is the php file that runs fine from within the server (the php file executes some sql and displays the results on the webpage).
>
> I have tried duplicating the security settings I find for the iisstart.htm file for the DisplayMCWPubs.php file, but that doesn't do anything.
>
> What am I doing wrong? Anyone?
>
> Roberto Harrison, MLIS
> Technology Support Librarian
> Medical College of Wisconsin Libraries
> Link.Learn.Lead
>
>
> .