Click to See Complete Forum and Search --> : PHP4 on Win2K PRO


Anon
05-03-2001, 01:56 PM
I'm having trouble running PHP4 on my Win2K Pro Box (IIS 5)

I copied the dlls folder and the php4ts.dll to my C:\WINNT\System32 folder, and used the default php.ini-dist file in C:\WINNT

I keep getting:

PHP has encountered an access violation at [address]

And sometimes i just get a random memory address on the page.

What's going on here?

Bryan

ame12
05-03-2001, 07:40 PM
Are you using the ISAPI or the CGI? If the former, try switching to the CGI. I have consistently had problems with ISAPI under IIS (4 not 5). The CGI is slower but not as slow as you might think due to the small footprint of the EXE (20K). It appears to end up cached by NT and works very quickly.

Dave


===========================================
http://badblue.com
Free small footprint web server for Windows
P2P file-sharing, PHP, wireless apps & more
===========================================

Anon
05-10-2001, 09:10 AM
I was using ISAPI, but you're definitely right. I've since switched to CGI, and it works flawlessly.

Thanks

Bryan