Thursday, 20 August 2009 00:00 | Written by NetworkNerd007 |
This tutorial will show you how to install PHP 5.3.0 for your Windows Apache server. If you have already installed XAMPP, you do not need this tutorial, because PHP was already installed for you.
I recommend using XAMPP to install PHP because it will install everything you will need including Apache, PHP 5, MySQL, and phpMyAdmin far easier than doing all of this manually.
If for some reason you insist on doing it the hard way, this tutorial will guide you through it. PHP 5.3.0 is actually very easy to install.
First you need to download PHP. You can do that from http://www.php.net/downloads.php . I recommend using the installer, which is what I am using in this tutorial. In the previous version of this tutorial, I mentioned fixing some errors using the PHP_FIX file, which is no longer needed and does not apply to the new version of PHP, so I've removed the PHP_FIX file to avoid confusion.
I did manage to find somewhere (don't remember where now) that it is not advised to enable all of the modules the way I do in my tutorial, because some of them require additional dependencies that aren't included and will generate errors.
I do however show how to fix the errors from appearing by disabling those modules in my tutorial. However, if you do find where you need those modules to actually function, I recommend doing some searching on http://www.php.net first.
I personally use Camtasia Studio 6 which has worked great for me, but it's not free. There are several others out there that I've heard good things about, but I just chose this one due to it's features and it's been a good choice so far.
Thank you for you quick response. I'm just looking for some free software which can do the same job.
NetworkNerd007 wrote:
Hey Jay, You're most certainly welcome!
I personally use Camtasia Studio 6 which has worked great for me, but it's not free. There are several others out there that I've heard good things about, but I just chose this one due to it's features and it's been a good choice so far.
Could not see Apache server in php installation se
prabhu Y-m-d H:i:s
Dear All,
I did as mentioned in the video tutorial, however i could not see the Apache server in the radio button list once after selecting the php path to install. I could see only IIS serverCGI, other CGI, Do not install web server options.
Please share your thoughts on this.
regards,
Prabhu
Anonymous wrote:
Thank you for you quick response. I'm just looking for some free software which can do the same job.
[quote=NetworkNerd007]Hey Jay,
You're most certainly welcome!
I personally use Camtasia Studio 6 which has worked great for me, but it's not free. There are several others out there that I've heard good things about, but I just chose this one due to it's features and it's been a good choice so far.
Prabhu, It looks like your issue is with the fact you have IIS running. As long as IIS is running, you won't be able to run Apache along side of it because they both use the same ports and only one can use those ports at a time. I recommend disabling IIS first, then making sure Apache is started and running and try installing it again.
Affter I installed php I was going through the errors.txt then an windows error message popped up and the apache2.2 service closed and when I try to open or start it. It gets half way through then closes from a windows error.
Great Video Series Buddy! If you could help me with this issue it'd be great. I installed Apache, all services working great and got the It works page. Installed the correct PHP file as inidcated inthe tutorial. Here's what I get on the error log:
Starting the Apache2.2 service
The Apache2.2 service is running.
rmine the server's fully qualified domain name, using 192.168.1.2 for ServerName
[Sun Dec 13 22:589 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming normal operations
[Sun Dec 13 22:589 2009] [notice] Server built: Sep 28 2009 22:418
[Sun Dec 13 22:589 2009] [notice] Parent: Created child process 2000
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2 for ServerName
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.1.2 for ServerName
[Sun Dec 13 22:589 2009] [notice] Child 2000: Child process is running
[Sun Dec 13 22:589 2009] [notice] Child 2000: Acquired the start mutex.
[Tue Dec 15 07:45:58 2009] [notice] Child 1764: Starting thread to listen on port 80.
[Tue Dec 15 08:56:44 2009] [notice] Parent: Received restart signal -- Restarting the server.
[Tue Dec 15 08:56:44 2009] [notice] Child 1764: Exit event signaled. Child process is ending.
[Tue Dec 15 08:56:44 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming normal operations
[Tue Dec 15 08:56:44 2009] [notice] Server built: Sep 28 2009 22:418
[Tue Dec 15 08:56:44 2009] [notice] Parent: Created child process 5772
[Tue Dec 15 08:56:45 2009] [notice] Child 1764: Released the start mutex
[Tue Dec 15 08:56:46 2009] [notice] Child 1764: All worker threads have exited.
[Tue Dec 15 08:56:46 2009] [notice] Child 1764: Child process is exiting
[Tue Dec 15 08:56:53 2009] [crit] (OS 1813)The specified resource type cannot be found in the image file. : master_main: create child process failed. Exiting.
[Tue Dec 15 08:57:23 2009] [notice] Parent: Forcing termination of child process 36
Hey Halo, Thank you for the comments. Your message got clipped off and I must ask please post support questions in the support forum, not in the comments. The Emotions have destroyed the message as well, so I really don't know what your question is. The only error I can see isn't a issue.
1: Clean install of Apache httpd-2.2.15-win32-x86-no_ssl.msi. (No errors in log and able to browse to the test index.html)
2: Install php-5.3.2-Win32-VC6-x86.msi as per your instructions and restart Apache.
3: tired to browse to the test index.html and it would not come up.
4: I then checked the error log and see the errors listed below.
I even tired to install PHP with the default extensions and in ether case it kills the Apache server. If I uninstall PHP the Apache server works fine again.
"guess I will go back to the old way"
Quote:
LOG:
[Thu Mar 11 135:26 2010] [crit] (OS 1813)The specified resource type cannot be found in the image file. : master_main: create child process failed. Exiting.
[Thu Mar 11 135:27 2010] [notice] Child 2560: Released the start mutex
[Thu Mar 11 135:28 2010] [notice] Child 2560: All worker threads have exited.
[Thu Mar 11 135:28 2010] [notice] Child 2560: Child process is exiting
[Thu Mar 11 135:56 2010] [notice] Parent: Forcing termination of child process 36
If you get an error like this after installing PHP and it won't let you start Apache, open your php.ini file (should be in the directory where you installed PHP) and find the list of extensions. I usually start at the bottom of the list of extensions and work my way up commenting them out one-by-one while trying to start Apache after saving the changes. It takes a few minutes to do this, but once it starts, you will know which extension it was that was causing the problem. Then, go back and start un-commenting out the ones you commented out before and restart apache after each one to make sure it also isn't a problem extension. I know there were a couple of them giving me problems and it takes a little bit to get the right ones commented out, but you'll eventually get it right.
!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."
Last Updated (Thursday, 20 August 2009 14:09)
!!REMEMBER: Support Forums!!
I still keep getting requests for support in the comments of posts and unfortunately I cannot give adequate responses due to the fact there's limited space and it just isn't the right place for support.
I therefore am encouraging visitors to PLEASE go to http://forum.myownserver.info for any support related questions. You will NOT receive any spam or anything you don't specifically subscribe to! I'm very meticulous about this myself and if at any time you need help stopping notifications from posts you previously subscribed to, contact me and I will promptly fix the issue.
@adriandenoon At Drupal, read this: http://tinyurl.com/nobaddrupal . Although, I'm writing a new post with encouraging news now!
11.09.09
@adriandenoon I've already got a tutorial on installing WordPress. . . http://tinyurl.com/l22jbw Not sure what platform you're on though.
10.09.09
I need some ideas for some tutorials. Is there something you want to see? Send me a message and I'll look into it!
Make a Donation
This site does not run ads nor does anyone fund it. The owner and author is unemployed and pays for it himself, so if you're feeling generous, please make a donation of any amount to help out. Thank you very much.