Weborum Webmaster Forum > Installing PHP on IIS
Help - Search - Members - Calendar
Full Version: Installing PHP on IIS
Weborum Webmaster Forum > Web Page Design > PHP
Joe
I tried to find an answer to this almost everywhere but have been unsuccessful so far. I know it is possible to install PHP on IIS but not in the conventional way, does anyone know of a tutorial that shows how to do this or can anyone explain in step-by-step the process to do this?

Cheers!
Joe
A little, but the Windows Installer window doesn't open at all, I just get a command line box, which is wierd. I'm also looking through the installation readme file and this makes very little sense ... I know the installation is possible, but it doesn't want to work. Does it make a difference that I'm using a 64bit system?
Waleed
I don't think being 64-bit should make a difference. I tried to install PHP locally a few weeks ago, but had the same problem as you; the installer didn't run, just that command line thing.
leo
i got this quote from this guide

QUOTE

5.7 I'm installing on a 64-bit box and all I get is a 500 error page!
This just in, from Ryan Hubbard:
On 64 bit IIS loads all extensions in 64 bit mode by default. Since php5isapi.dll is 32 it freaks out but doesn’t give an errors just a 500 error on php pages. So in order to get it to work on IIS 6 64-bit you need to run the following at the command line.
cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1
This enables both 64 and 32 bit extensions.




http://www.peterguy.com/php/install_IIS6.html
Joe
Thanks for the resource Leo.

I followed the instructions to the letter, I even double checked everything but still to no avail, it's still not working ... quite tricky.

Mike, don't you have PHP on your IIS server?
bassrek
QUOTE(Joe @ Oct 14 2006, 09:20 AM) [snapback]35074[/snapback]

Mike, don't you have PHP on your IIS server?


I have in the past, but it's been a while. If I remember correctly, the instructions on the PHP web site were pretty straight-forward. I just followed them and made a change to the PHP .ini file and it worked. That was an older version of PHP and I was probably running it on an old Pentium II at the time.

I'm doing much with PHP right now. When I do, I just cheat and use EasyPHP whistle.gif
leo
hehe, yeah easyphp makes it nice and easy smile.gif

i didn't ask joe because i thought you had some reason to use iis, but why not install apache?
Joe
Apache is installed. It got installed along with my firewall, so EasyPHP didn't work. Which is why I needed to put PHP on separately ... I tried to install EasyPHP and configure everything so that my firewall would work too, but it didn't work.
Waleed
You could try out wampserver too. EasyPHP doesn't seem to get updated too often...
Joe
I can't use that either, if it comes pre-bundled with Apache it'll mess my firewal up, this is why I have to try and get PHP installed separately ... a tricky thing to do, I'll play around with it again when I have a bit more time on my hands.
leo
if you have apache already installed why not install php on it?

http://www.thesitewizard.com/archive/php4install.shtml
Joe
QUOTE(leo @ Oct 17 2006, 07:15 PM) [snapback]35096[/snapback]

if you have apache already installed why not install php on it?

http://www.thesitewizard.com/archive/php4install.shtml


Isn't that what I'm trying to do? huh.gif

I'll work through that when I get home, depending on when I get home. I'm guessing I need to un-configure everything I did from the other article?
leo
hehe, apache and iis are two different server software packages.

yeah you'd want to start a fresh with the php config smile.gif
Joe
Ahh sorry, confused. I know what I'm doing now. Yes, Apache is installed and configured to work with my firewall, which is why I couldn't use a bundled package ... so I thought my only alternative was using IIS. My firewall is accessed using a different port on localhost, so configuration may be difficult, I'll give it a go and report back.

Cheers the the link Leo, Google brought up nothing for me.
leo
you're welcome bud smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.