I'm trying to do the "Build your own Database Driven Website using PHP & MySQL" tutorial by Kevin Yank located here:
I've installed mySQL 3.23.52, PHP 4.2.3, and Apache 2.0.43 on my WinXP Home computer. The Apache server is working fine. However, when I add the following lines to httpd.conf as directed in the tutorial Apache will not restart.
LoadModule php4_module c:/PHP/sapi/php4apache.dll
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
Apache gives an error saying, "The requested operation has failed!". As soon as I comment those lines, Apache starts fine again. I verified that the module path is correct. I checked my log file, and it tells me the following:
[Mon Oct 14 16:55:15 2002] [notice] Parent: Created child process 1400
[Mon Oct 14 16:55:15 2002] [notice] Child 1400: Child process is running
[Mon Oct 14 16:55:15 2002] [notice] Child 1400: Acquired the start mutex.
[Mon Oct 14 16:55:15 2002] [notice] Child 1400: Starting 250 worker threads.
[Mon Oct 14 16:57:57 2002] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Oct 14 16:57:57 2002] [notice] Child 1400: Exit event signaled. Child process is ending.
[Mon Oct 14 16:57:57 2002] [warn] (720995)The I/O operation has been aborted because of either a thread exit or an application request. : winnt_accept: Asynchronous AcceptEx failed.
[Mon Oct 14 16:57:58 2002] [notice] Child 1400: Released the start mutex
[Mon Oct 14 16:57:59 2002] [notice] Child 1400: Waiting for 250 worker threads to exit.
[Mon Oct 14 16:57:59 2002] [notice] Child 1400: All worker threads have exited.
[Mon Oct 14 16:57:59 2002] [notice] Child 1400: Child process is exiting
I'm not sure what to do at this point. Please dont tell me to RTFM. I just want to get this development environment setup temporarily so I can learn a little PHP before buying a webhost. If anybody could point me in the right direction, I'd really appreciate it. Until then I'll keep banging my head against the wall trying to figure it out.