Joe
Oct 13 2006, 06:29 PM
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!
leo
Oct 13 2006, 07:07 PM
Joe
Oct 13 2006, 10:00 PM
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
Oct 14 2006, 10:31 AM
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
Oct 14 2006, 12:29 PM
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
Oct 14 2006, 02:20 PM
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
Oct 15 2006, 04:21 PM
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
leo
Oct 15 2006, 07:20 PM
hehe, yeah easyphp makes it nice and easy

i didn't ask joe because i thought you had some reason to use iis, but why not install apache?
Joe
Oct 15 2006, 07:49 PM
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
Oct 16 2006, 05:16 PM
You could try out
wampserver too. EasyPHP doesn't seem to get updated too often...
Joe
Oct 16 2006, 06:32 PM
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
Oct 17 2006, 06:15 PM
if you have apache already installed why not install php on it?
http://www.thesitewizard.com/archive/php4install.shtml
Joe
Oct 17 2006, 07:08 PM
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.shtmlIsn't that what I'm
trying to do?
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
Oct 17 2006, 07:27 PM
hehe, apache and iis are two different server software packages.
yeah you'd want to start a fresh with the php config
Joe
Oct 17 2006, 07:35 PM
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
Oct 17 2006, 08:30 PM
you're welcome bud
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.