I took the plunge today and nuked the IIS/ASP/Access webserver setup I had been running for the past few years. I want to go with Apache/PHP/MySQL for a variety of reasons.
Anyways... I downloaded the installer files for Apache 2 and PHP4, and the .zip for MySQL. I installed Apache, then MySQL, then PHP on my W2k box. Following a webmonkey tutorial, I renamed/moved php.ini to my WINNT directory and php4ts.dll to my WINNT/SYSTEM32 directory. Then I added the following lines to the httpd.conf:
ScriptAlias /php4/ "C:/php4/"
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php /php4/php.exe
I then restarted the Apache services, wrote a quick php test file, and called it from IE. I got a "The page could not be found." error.
Does this sound like a problem with the httpd.conf configuration, or something else? I know about the install packs from foxserv.net and the like, but I prefer to do things manually when possible - I feel like I understand more (and can troubleshoot better) when things aren't going right. But this one has me pretty well confused.
I read through a bunch of old posts and it sounds like everyone has a slightly different configuration of httpd.conf, but it's more than just different paths. Any help is appreciated.