Click to See Complete Forum and Search --> : Help win2k, IIS, PHP4
fsteveb
10-15-2002, 03:59 PM
I followed the install instructions, but the php files don't come run the processor. If I open the .php file using php.exe, it opens a dos window and quickly closes. If I open it in IE, it displays blank and the source has the php lines in it. What am I missing?
harristonian
10-15-2002, 04:35 PM
I sympathise, believe me.
I tried to install on WinXP Pro with IIS many times and nearly lost it trying!!
If you're game I finally installed using the self-extract from www.firepages.com (http://www.firepages.com.au)
which meant installing Apache and what the hell MySQL as well (we can't stick to Access for ever!!). Apart from the error posted above you - it's working OK.
Best of British.....
maliX
10-15-2002, 07:33 PM
there is no big mystery about that. simply copy php4ts.dll to c:\windows\system32 (or c:\winnt\system32) dir, and copy php.ini--recomended to c:\windows [c:\winnt]\php.ini and edit it with your favorite text editor - edit things about register_globals, sessions, uploads and smtp and ftp, eventualy;
now fire up iis, add the isapi filter (path\to\php\installed\dir\SAPI\php4isapi.dll and tell the iis that you want to handle php files THRU php4isapi.dll (php.exe is cgi-bin file, he\s executing EVERYTIME you request some php page -it isn't problem when you developing, but if you configuring public server, it can REALY SLOW DOWN your server) - under 'home directory' tab, configure.. button.
HTH
PHP Builder
Copyright Internet.com Inc. All Rights Reserved.