Re: php and iis 7

From: Date: Mon, 25 Mar 2013 22:24:21 +0000
Subject: Re: php and iis 7
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-20254@lists.php.net to get a copy of this message
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> jfha73@gmail.com <mailto:jfha73@gmail.com> 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 .


« previous php.install (#20254) next »