php installation problems
Moderator: General Moderators
-
SKUNKFACEWOODY
- Forum Newbie
- Posts: 6
- Joined: Sun Jul 09, 2006 2:19 pm
php installation problems
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.
-
SKUNKFACEWOODY
- Forum Newbie
- Posts: 6
- Joined: Sun Jul 09, 2006 2:19 pm
reply to Jamie
Cheers Jamie for the reply. What can I do to correct this?
-
SKUNKFACEWOODY
- Forum Newbie
- Posts: 6
- Joined: Sun Jul 09, 2006 2:19 pm
Reply
The only attributes relating to permissions are read only check box & hidden check box.
Once again thanks for your help mate.
Cheers
Woody.
Once again thanks for your help mate.
Cheers
Woody.
- jayshields
- DevNet Resident
- Posts: 1912
- Joined: Mon Aug 22, 2005 12:11 pm
- Location: Leeds/Manchester, England
When I installed all that (same stuff as you), I had a load of problems too, but nothing that couldn't be solved - my mate was the same too.
When I almost lost my rag I just copied all the important files everywhere, lol, but if you haven't already I would advise going to the php site and reading the installation pages because some of the user submitted notes are useful.
When I almost lost my rag I just copied all the important files everywhere, lol, but if you haven't already I would advise going to the php site and reading the installation pages because some of the user submitted notes are useful.
-
SKUNKFACEWOODY
- Forum Newbie
- Posts: 6
- Joined: Sun Jul 09, 2006 2:19 pm
REPLY
Tried that Jamie. Restarted apache still no go. Do you think it is worth going down the wampserver (php, Apache & MySql all in one) route?
I really appreciate your help.
I really appreciate your help.
-
SKUNKFACEWOODY
- Forum Newbie
- Posts: 6
- Joined: Sun Jul 09, 2006 2:19 pm
Reply
Yeah tested it under another name though but still no luck. This one is a right little <span style='color:blue' title='I'm naughty, are you naughty?'>smurf</span> of a problem.
Cheers Bud.
Cheers Bud.
-
SKUNKFACEWOODY
- Forum Newbie
- Posts: 6
- Joined: Sun Jul 09, 2006 2:19 pm
GOT THE ANSWER!
Ok got the answer. Installation was done correctly, Apache configured correctly the error was that notepad text editor was creating phpinfo file as a text file not a php file even though .php extension was used that was all it was 10 days of searching for that. Readjusted text editor and up popped the correct screen.
Many Many Thanks to all those who tried to help. And thanks to forum for letting me post query.
Cheers
Many Many Thanks to all those who tried to help. And thanks to forum for letting me post query.
Cheers