I've been trying to get PHP working on my WinXP machine for the past few 
days now, but have been unsucessful.  The Apache web server itself starts 
and works fine (without PHP), but whenever I try loading the PHP module, it 
doesn't restart.  Instead, I get the following error message: "The 
requested operation has failed".  I don't quite know what the problem is 
because the error log doesn't tell me much (see error.log snipit code 
below).  I think I've configured both PHP and Apache correctlty (see 
php.ini and httpd.conf snipit code below), but I'm obviously missing 
something.  If anyone can help, please let me know.  Thank you.

### Start snip from php.ini ###
doc_root = C:/Program Files/Apache Group/Apache2/htdocs/

; The directory under which PHP opens the script using /~usernamem used 
; if nonempty.
user_dir =

; Directory in which the loadable extensions (modules) reside.
extension_dir = C:/PHP/extensions/

### Start snip from httpd.conf ###
#LoadModule vhost_alias_module modules/
#LoadModule ssl_module modules/
LoadModule php4_module "C:/PHP/sapi/php4apache.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php

### Start snip from error.log ###
[Tue Oct 15 21:12:20 2002] [notice] Parent: Received shutdown signal -- 
Shutting down the server.
[Tue Oct 15 21:12:20 2002] [notice] Child 2716: Exit event signaled. Child 
process is ending.
[Tue Oct 15 21:12:21 2002] [notice] Child 2716: Released the start mutex
[Tue Oct 15 21:12:22 2002] [notice] Child 2716: Waiting for 250 worker 
threads to exit.
[Tue Oct 15 21:12:22 2002] [notice] Child 2716: All worker threads have 
[Tue Oct 15 21:12:22 2002] [notice] Child 2716: Child process is exiting
[Tue Oct 15 21:12:22 2002] [notice] Parent: Child process exited 

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to