php installation problems
Posted: Mon Jul 10, 2006 5:28 am
I hope for the sake of my sanity and the safety of my computer someone can help. I have been trying to install php5 to use with apache2 and windows xp. Apache installs fine and when you look up localhost you see the apache welcome screen no problems. Then the fun begins I download php5 save it to C drive under PHP5 move and rename the php.ini file to WINDOWS. Then move php5ts.dll to WINDOWS-SYSTEM32. Edit the apache config file with the usual LoadModule and AddType info. Then create phpinfo file store it in htdocs in apache. When I try to access it in IE, Firefox or Opera all I get is the error 404 file not found message. If you load a html page into the browser this works fine.
I have restored my computer numerous times to rectify the problem but every time same message. No matter where you move the files always the same. The sad thing is I had php5 and apache running on the computer fine before.
The apache error log reads:-
[Mon Jul 10 12:20:41 2006] [notice] Parent: Created child process 3740
[Mon Jul 10 12:20:41 2006] [notice] Child 3740: Child process is running
[Mon Jul 10 12:20:41 2006] [notice] Child 3740: Acquired the start mutex.
[Mon Jul 10 12:20:42 2006] [notice] Child 3740: Starting 250 worker threads.
[Mon Jul 10 12:25:26 2006] [notice] Parent: Created child process 224
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Child process is running
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Acquired the start mutex.
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Starting 250 worker threads.
[Mon Jul 10 12:32:28 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Jul 10 12:32:28 2006] [notice] Child 224: Exit event signaled. Child process is ending.
[Mon Jul 10 12:32:28 2006] [notice] Parent: Created child process 3588
[Mon Jul 10 12:32:28 2006] [notice] Child 3588: Child process is running
[Mon Jul 10 12:32:29 2006] [notice] Child 224: Released the start mutex
[Mon Jul 10 12:32:29 2006] [notice] Child 3588: Acquired the start mutex.
[Mon Jul 10 12:32:29 2006] [notice] Child 3588: Starting 250 worker threads.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: All worker threads have exited.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: Child process is exiting
[Mon Jul 10 12:32:34 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 10 12:32:34 2006] [notice] Child 3588: Exit event signaled. Child process is ending.
[Mon Jul 10 12:32:35 2006] [notice] Child 3588: Released the start mutex
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: All worker threads have exited.
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: Child process is exiting
[Mon Jul 10 12:32:36 2006] [notice] Parent: Child process exited successfully.
[Mon Jul 10 12:32:42 2006] [notice] Parent: Created child process 2904
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Child process is running
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Acquired the start mutex.
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Starting 250 worker threads.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:38:09 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 10 12:38:09 2006] [notice] Child 2904: Exit event signaled. Child process is ending.
[Mon Jul 10 12:38:10 2006] [notice] Child 2904: Released the start mutex
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: All worker threads have exited.
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: Child process is exiting
[Mon Jul 10 12:38:11 2006] [notice] Parent: Child process exited successfully.
[Mon Jul 10 12:47:03 2006] [notice] Parent: Created child process 1248
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Child process is running
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Acquired the start mutex.
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Starting 250 worker threads.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:51:40 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Jul 10 12:51:40 2006] [notice] Child 1248: Exit event signaled. Child process is ending.
[Mon Jul 10 12:51:40 2006] [notice] Parent: Created child process 2908
[Mon Jul 10 12:51:40 2006] [notice] Child 2908: Child process is running
[Mon Jul 10 12:51:41 2006] [notice] Child 2908: Acquired the start mutex.
[Mon Jul 10 12:51:41 2006] [notice] Child 1248: Released the start mutex
[Mon Jul 10 12:51:41 2006] [notice] Child 2908: Starting 250 worker threads.
[Mon Jul 10 12:51:42 2006] [notice] Child 1248: Waiting for 250 worker threads to exit.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:51:51 2006] [notice] Child 1248: All worker threads have exited.
[Mon Jul 10 12:51:51 2006] [notice] Child 1248: Child process is exiting
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
PLEASE SOMEONE HELP ME.
Woody.
I have restored my computer numerous times to rectify the problem but every time same message. No matter where you move the files always the same. The sad thing is I had php5 and apache running on the computer fine before.
The apache error log reads:-
[Mon Jul 10 12:20:41 2006] [notice] Parent: Created child process 3740
[Mon Jul 10 12:20:41 2006] [notice] Child 3740: Child process is running
[Mon Jul 10 12:20:41 2006] [notice] Child 3740: Acquired the start mutex.
[Mon Jul 10 12:20:42 2006] [notice] Child 3740: Starting 250 worker threads.
[Mon Jul 10 12:25:26 2006] [notice] Parent: Created child process 224
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Child process is running
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Acquired the start mutex.
[Mon Jul 10 12:25:29 2006] [notice] Child 224: Starting 250 worker threads.
[Mon Jul 10 12:32:28 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Jul 10 12:32:28 2006] [notice] Child 224: Exit event signaled. Child process is ending.
[Mon Jul 10 12:32:28 2006] [notice] Parent: Created child process 3588
[Mon Jul 10 12:32:28 2006] [notice] Child 3588: Child process is running
[Mon Jul 10 12:32:29 2006] [notice] Child 224: Released the start mutex
[Mon Jul 10 12:32:29 2006] [notice] Child 3588: Acquired the start mutex.
[Mon Jul 10 12:32:29 2006] [notice] Child 3588: Starting 250 worker threads.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: All worker threads have exited.
[Mon Jul 10 12:32:30 2006] [notice] Child 224: Child process is exiting
[Mon Jul 10 12:32:34 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 10 12:32:34 2006] [notice] Child 3588: Exit event signaled. Child process is ending.
[Mon Jul 10 12:32:35 2006] [notice] Child 3588: Released the start mutex
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: All worker threads have exited.
[Mon Jul 10 12:32:36 2006] [notice] Child 3588: Child process is exiting
[Mon Jul 10 12:32:36 2006] [notice] Parent: Child process exited successfully.
[Mon Jul 10 12:32:42 2006] [notice] Parent: Created child process 2904
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Child process is running
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Acquired the start mutex.
[Mon Jul 10 12:32:43 2006] [notice] Child 2904: Starting 250 worker threads.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:38:09 2006] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 10 12:38:09 2006] [notice] Child 2904: Exit event signaled. Child process is ending.
[Mon Jul 10 12:38:10 2006] [notice] Child 2904: Released the start mutex
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: Waiting for 250 worker threads to exit.
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: All worker threads have exited.
[Mon Jul 10 12:38:11 2006] [notice] Child 2904: Child process is exiting
[Mon Jul 10 12:38:11 2006] [notice] Parent: Child process exited successfully.
[Mon Jul 10 12:47:03 2006] [notice] Parent: Created child process 1248
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Child process is running
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Acquired the start mutex.
[Mon Jul 10 12:47:03 2006] [notice] Child 1248: Starting 250 worker threads.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:51:40 2006] [notice] Parent: Received restart signal -- Restarting the server.
[Mon Jul 10 12:51:40 2006] [notice] Child 1248: Exit event signaled. Child process is ending.
[Mon Jul 10 12:51:40 2006] [notice] Parent: Created child process 2908
[Mon Jul 10 12:51:40 2006] [notice] Child 2908: Child process is running
[Mon Jul 10 12:51:41 2006] [notice] Child 2908: Acquired the start mutex.
[Mon Jul 10 12:51:41 2006] [notice] Child 1248: Released the start mutex
[Mon Jul 10 12:51:41 2006] [notice] Child 2908: Starting 250 worker threads.
[Mon Jul 10 12:51:42 2006] [notice] Child 1248: Waiting for 250 worker threads to exit.
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
[Mon Jul 10 12:51:51 2006] [notice] Child 1248: All worker threads have exited.
[Mon Jul 10 12:51:51 2006] [notice] Child 1248: Child process is exiting
[client 127.0.0.1] script 'C:/Program Files/Apache Group/Apache2/htdocs/phpinfo.php' not found or unable to stat
PLEASE SOMEONE HELP ME.
Woody.