Installing PHP 4.2.3 with Apache 2.0.43 on WinXP Home Edition
| From: | Reginald Alex Mullin | Date: | Wed, 16 Oct 2002 04:27:12 +0000 |
| Subject: | Installing PHP 4.2.3 with Apache 2.0.43 on WinXP Home Edition | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-120103@lists.php.net to get a copy of this message | ||
Team,
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
only
; 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/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so
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
exited.
[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
successfully.