Page 1 of 1

PHP pages not being translated

Posted: Fri Mar 16, 2007 1:23 pm
by mindverve
I tried to read the article on the sticky at the top of the forum, but I think someone hijacked your page. All I could find were pages of ad links.

I just got home from vacation a few days ago and discovered that my IIS installation wasn't working. I fixed that by reinstalling it, so no worries there. Now when I try to browse one of my PHP pages, the pages aren't being translated. I get raw PHP code in the browser. I tried uninstalling and reinstalling PHP, but that didn't solve the problem. What else can I try? I'm running Windows XP with IIS 6.0 and PHP 5.2.0.

Re: PHP pages not being translated

Posted: Fri Mar 16, 2007 2:27 pm
by volka
mindverve wrote:I tried to read the article on the sticky at the top of the forum, but I think someone hijacked your page. All I could find were pages of ad links.
?
Sticky: Installing and configuring PHP / MySQL with IIS and Sticky: Useful Resources both work fine for me.
mindverve wrote: I'm running Windows XP with IIS 6.0 and PHP 5.2.0.
isn't iis6 shipping with windows 2003 while windows xp uses iis5?
Anyway, take a look at http://www.php.net/manual/en/install.windows.iis.php and double-check each step of the procedure.

Posted: Fri Mar 16, 2007 2:58 pm
by mindverve
I don't recall having to do much of anything to get PHP to work the first time I installed it. The installer seemed to take care of it. I'm going through the steps in the manual, and I'm stuck on one of them. The manual says, "With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service Extensions, choose "Add a new Web service extension"" I can't find "Add a new Web service extension. Where is that?

Posted: Fri Mar 16, 2007 3:42 pm
by mindverve
I followed the instructions under "To use the ISAPI module". Now when I try to browse a PHP page, I get "HTTP 500 - Internal server error".

Posted: Fri Mar 16, 2007 3:42 pm
by volka
mindverve wrote:The manual says, "With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service Extensions, choose "Add a new Web service extension"" I can't find "Add a new Web service extension.
Because you run windows xp and therefore have iis 5, not 6?

Posted: Fri Mar 16, 2007 3:49 pm
by mindverve
volka wrote:
mindverve wrote:The manual says, "With IIS 6 (2003 Server), open up the IIS Manager, go to Web Service Extensions, choose "Add a new Web service extension"" I can't find "Add a new Web service extension.
Because you run windows xp and therefore have iis 5, not 6?
It's a little confusing to know exactly what I'm running. Since I've installed it from the XP Pro disk, I guess I have to assume it's 5.1, right? But in my Administrative Tools I have "Internet Information Services" and "Internet Information Services (IIS6) Manager".

Posted: Fri Mar 16, 2007 4:05 pm
by volka
Using google on the search term XP IIS6 Manager finds
http://www.microsoft.com/technet/community/en-us/iis/iis6_faq.mspx wrote:Q. Can I remotely administer a server running IIS 6.0 from a computer running Windows XP Professional?

A. Yes, you can remotely manage a server running IIS 6.0 from a Windows XP workstation by installing and using IIS 6.0 Manager for Windows XP—a Microsoft Management Console snap-in, which is available as a free download.
So I guess you have iis 5.1 and the iis6 manager and both are not related to each other ;)

The installer from php.net is probably doing things similar to the description at http://www.php.net/manual/en/install.windows.iis.php. Do you find its "traces"? Maybe you can undo the current installation and then run the installer (successfully) again. Just wild guessing. Does the installer have an uninstall feature? Maybe you can find it in the software list and uninstall it from there.

Posted: Fri Mar 16, 2007 4:25 pm
by mindverve
I've tried the uninstall/install cycle a few times now, actually. I'm installing with the IIS/ISAPI option. I think I'll do it one more time and try the IIS/CGI option. This all used to work, on this computer. I'm not sure whether to blame the house sitter or some Microsoft security update.

Posted: Fri Mar 16, 2007 4:40 pm
by mindverve
I installed with the IIS/CGI option this time, and it seems to be working. Thank you to everyone for your help and suggestions.