UGN Security
Posted By: Satori Yet another PHP Help thread ;.) - 10/12/02 05:55 PM
Okay, so I'm having a helluva time trying to get PHP loaded as ISAPI within IIS 5.0 on a Windows 2000 server running SP2 + all post SP patches (dun wanna fook with all the Sp3 bugs yet).

Anyway, I can get PHP to play nicely with Apache all day. I can get PHP to load in IIS as CGI no problem.

I want the [censored] performance boost that comes with SAPI.

Has anyone gotten this to work properly on a Win server? Even a simple "Hello World" PHP script is generating internal server error 500s, and my ASP engine has crapped out a few times too.

This is totally pissing me off. I expected complicated scripts to crash it, but to not be able to do *anything* is just lame. If anyone has gotten this config to run and would be willing to clue me in to what modifications they had to make to get it working, I'd really appreciate the help.

Thanks,

Satori
Posted By: Le4rner Re: Yet another PHP Help thread ;.) - 10/12/02 11:08 PM
Why are you using Windows 2000? Not being sarcastic just wondering. I have only had to deal with PHP on Unix boxes man. I will see what I can find, but probably won't help you much.
Posted By: Satori Re: Yet another PHP Help thread ;.) - 10/13/02 03:07 AM
Well, I usually run it on Unix too... See, with PHP offering ISAPI support in 2k, it means that all the open source e-com solutions written in PHP are suddenly coming available on 2k. You cound do PHP as an Apache mod or as CGI in IIS before, but the performance would never compare to running PHP on a Unix platform.

SO, long story short, if I can get it working right, I'm gonna port in a bunch of PHP e-com stuff and then sell installation and maintenance services to web administrators for a pretty penny ;.) Tons of 2k admins in the business that are too lazy to learn Unix, too stupid to write their own e-com packages using the new .NET framework from Microshaft, but with enough money behind them to pay for stupidly expensive closed-source e-com solutions. I want to be able to take some of that money without developping my own packages in ASP.NET.

But, apparently, I'm too stupid to get it to work =/
Posted By: olosoft Re: Yet another PHP Help thread ;.) - 11/05/02 11:08 PM
uhh, i *think* the problem is that you didnt tell iis what program to use to run the php. open up iis, right click your site, properties. home directory, click configuratoin near the bottom. click add. as the executable, add php.exe which usualy is c:\php\php.exe, or wherever you installed php to. and as extension add the extension you want to associate php files with, usualy .php.
© UGN Security Forum