My O/S is windows 2000 professional. I'm having trouble getting php4 (latest stable version at www.php.net with MySQL, sapi etc etc included) to even work in the first place, hope I can find help here.
This is what I did:
1) Downloaded php, extracted files into new folder C:\PHP
2) Copied php4ts.dll to C:\WINNT\System32 directory.
3) Copied all .dll files from dlls subdirectory to C:\WINNT\System 32 directory.
4) Edited extension_dir to "extension_dir = C:\PHP\extensions" in php.ini.
5) Started Internet Services Manager, added ISAPI filter (path of filter - C:\PHP\sapi\php4isapi.dll).
6) Added Application Extension Mapping to .php files. (Executable - C:\PHP\sapi\php4isapi.dll)
7) Started command prompt, used the command "net stop iisadmin" to shut down IIS.
8) Used the command "net start w3svc" to start up IIS again. (The World Wide Web Publishing Service service was stared successfully.)
I typed a short script to test out (I'm following a book's instructions) as follows:
<?php
phpinfo();
?>
saved it as phpinfo.php in my web server's root directory => C:\Inetpub\wwwroot\phpinfo.php
Now the problem is, http://localhost/phpinfo.php won't show me anything! I can't figure out what I did wrong, can someone help?