I've installed Apache 2.0.4 on my Win2000 machine. That worked just fine.
I've installed PHP-4.2.3, and that seemed to go well also. I've created a "test.php" page, but whenever I try to open it in my IE 6 browser I can a "Page Cannot Be Found", Error 404 page.
I've moved the php.ini to the c:\WINNT directory, and the php4ts.dll to the c:\WINNT\System directory. I didn't get a MSVCRT.DLL file with my download, but I copied on from \System32, and pasted it in \System...I've also done this:
Now modify your httpd.conf for your Apache server (generally in
C:\Program Files\Apache Group\Apache\Conf)
- Search for the line
ScriptAlias /cgi-bin/ "c:/Program Files/Apache Group/Apache/cgi-bin/"
- Add the line
ScriptAlias /php/ "c:/php/"
Search for
#AddType application/x-httpd-php3-source .phps
Add the lines
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
(These might already be there, commented out)
Search for
Format: Action handler-name /cgi-script/location
Add the line
Action application/x-httpd-php /php/php.exe
What else can I do to get php to work? Why do I get the "Page Cannot Be Found?"
Thanks for any help you guys can provide.
Brian