Installing PHP on IIS 6 (Win2003)

I am trying to install PHP 5.3.6 on a clean installation of Win2003, without a point network or anything else that is heavily installed. Unfortunately, I tried "thread safe", "unsafe thread", installer file, zip file, etc., but everything I'm trying to use PHP does not seem to work. I also installed Microsoft C ++ 2008 redistributable, as suggested on the PHP site, but still nothing.

Any suggestions on how I should install this correctly. There seem to be vague and sometimes conflicting instructions on the PHPweb site.

+4
source share
5 answers

And further research shows that I was wrong - it is now installed and working.

Download and install FastCGI from here: http://www.microsoft.com/downloads/en/details.aspx?FamilyID=227219AA-6AEC-4B80-A9FA-76F811EE9E84&%3Bdisplaylang=en This is a simple .msi installation, no point grid is required.

Restart IIS

Then download NON Thread Safe PHP and install IIS FastCGI Server on the server.

Now everything works.

+1
source

Make sure you tell IIS how to handle PHP files.
In IIS Manager, expand the tree and find the web service extensions, then make sure you have a place for PHP pointing to php dll.

service extensions

then make sure your MIME types are configured correctly. Right-click your website in the Websites section, review the properties, and then the HTTP Headers tab. Click the MIME Types button and make sure you have an entry for PHP.

mime types

This is how we created it in IIS Manager. I hope he helps you too.

+2
source

Further research suggests that PHP 5.3.x will only work with IIS using FastCGI; isapi is no longer supported, so the reason PHP5isapi.dll is missing. Unfortunately, FastCGI cannot be installed in IIS without first installing the Microsoft Web Platform Installer, for which you need to install a point grid.

This is crazy, PHP really insists that point-to-network is a prerequisite for PHP madness!

+1
source

Here, as I installed PHP 5.3 on IIS 6 (runs on a Windows 2003 server): http://www.howtoadvice.com/PHPIIS

+1
source

This document is a bit outdated and outdated, but you should be able to use the Web Platform Installer to install PHP on IIS6 for you.

0
source

Source: https://habr.com/ru/post/1346566/


All Articles