Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Oct 2002
Posts: 10
Junior Member
Junior Member
Joined: Oct 2002
Posts: 10
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

Sponsored Links
▼ Sponsored Links ▼ ▲ Sponsored Links ▲
Joined: Mar 2002
Posts: 562
UGN Supporter
UGN Supporter
Joined: Mar 2002
Posts: 562
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.

Joined: Oct 2002
Posts: 10
Junior Member
Junior Member
Joined: Oct 2002
Posts: 10
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 =/

Joined: Mar 2002
Posts: 143
Member
Member
Joined: Mar 2002
Posts: 143
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.


Link Copied to Clipboard
Member Spotlight
None yet
Forum Statistics
Forums41
Topics33,840
Posts68,858
Members2,176
Most Online3,253
Jan 13th, 2020
Latest Postings
Top Posters
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Likes Received
Ghost 2
Girlie 1
unreal 1
Crime 1
Ice 1
Powered by UBB.threads™ PHP Forum Software 8.0.0