How to install PHP 5.3.0

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.

 

Next, I recommend How to install MySQL 5.1.37 Database Server

** NOTES **

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.



Comments
Add New Search RSS
How to record this
Jay Y-m-d H:i:s

Hi,Thank you for your great tutorial.
May I ask what tool do you use to record this video? Is that a free software?
Thanks
RE:
NetworkNerd007 Y-m-d H:i:s

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.
Location
john Y-m-d H:i:s

Where can I get the PHP 5.3.0 VC6 x86 Thread Safe (Windows Installer)
RE:
NetworkNerd007 Y-m-d H:i:s

Hey john,
I'm assuming there's some particular reason you don't want to use the latest
version, 5.3.1?

I may have a copy of it on my PC at home, but I'm out of town for the next few
days so it won't be until then before I can even look.

I would image there's a way to get older versions some how though.
re: RE:
Anonymous Y-m-d H:i:s

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.
[/quote]
RE:
NetworkNerd007 Y-m-d H:i:s

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.
Error
Adam Y-m-d H:i:s

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.
Help Please !!
Halo Y-m-d H:i:s

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:58:09 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming
normal operations

[Sun Dec 13 22:58:09 2009] [notice] Server built: Sep 28 2009 22:41:08

[Sun Dec 13 22:58:09 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:58:09 2009] [notice] Child 2000: Child process is running

[Sun Dec 13 22:58:09 2009] [notice] Child 2000: Acquired the start mutex.

[Sun Dec 13 22:58:09 2009] [notice] Child 2000: Starting 64 worker threads.

[Sun Dec 13 22:58:09 2009] [notice] Child 2000: Starting thread to listen on
port 80.

[Sun Dec 13 23:07:15 2009] [error] [client 127.0.0.1] File does not exist:
C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/favicon.ico

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.2 for ServerName

[Sun Dec 13 23:09:27 2009] [warn] pid file C:/Program Files (x86)/Apache
Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?

[Sun Dec 13 23:09:27 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming
normal operations

[Sun Dec 13 23:09:27 2009] [notice] Server built: Sep 28 2009 22:41:08

[Sun Dec 13 23:09:29 2009] [notice] Parent: Created child process 1568

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 23:09:29 2009] [notice] Child 1568: Child process is running

[Sun Dec 13 23:09:29 2009] [notice] Child 1568: Acquired the start mutex.

[Sun Dec 13 23:09:29 2009] [notice] Child 1568: Starting 64 worker threads.

[Sun Dec 13 23:09:29 2009] [notice] Child 1568: Starting thread to listen on
port 80.

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName

[Mon Dec 14 03:24:17 2009] [warn] pid file C:/Program Files (x86)/Apache
Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?

[Mon Dec 14 03:24:17 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming
normal operations

[Mon Dec 14 03:24:17 2009] [notice] Server built: Sep 28 2009 22:41:08

[Mon Dec 14 03:24:17 2009] [notice] Parent: Created child process 2000

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName

[Mon Dec 14 03:24:17 2009] [notice] Child 2000: Child process is running

[Mon Dec 14 03:24:17 2009] [notice] Child 2000: Acquired the start mutex.

[Mon Dec 14 03:24:17 2009] [notice] Child 2000: Starting 64 worker threads.

[Mon Dec 14 03:24:17 2009] [notice] Child 2000: Starting thread to listen on
port 80.

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 192.168.1.2 for ServerName

[Mon Dec 14 17:53:05 2009] [warn] pid file C:/Program Files (x86)/Apache
Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?

[Mon Dec 14 17:53:05 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming
normal operations

[Mon Dec 14 17:53:05 2009] [notice] Server built: Sep 28 2009 22:41:08

[Mon Dec 14 17:53:05 2009] [notice] Parent: Created child process 1688

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

[Mon Dec 14 17:53:05 2009] [notice] Child 1688: Child process is running

[Mon Dec 14 17:53:05 2009] [notice] Child 1688: Acquired the start mutex.

[Mon Dec 14 17:53:05 2009] [notice] Child 1688: Starting 64 worker threads.

[Mon Dec 14 17:53:05 2009] [notice] Child 1688: Starting thread to listen on
port 80.

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName

[Tue Dec 15 07:45:57 2009] [warn] pid file C:/Program Files (x86)/Apache
Software Foundation/Apache2.2/logs/httpd.pid overwritten -- Unclean shutdown of
previous Apache run?

[Tue Dec 15 07:45:57 2009] [notice] Apache/2.2.14 (Win32) configured -- resuming
normal operations

[Tue Dec 15 07:45:57 2009] [notice] Server built: Sep 28 2009 22:41:08

[Tue Dec 15 07:45:57 2009] [notice] Parent: Created child process 1764

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName

httpd.exe: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName

[Tue Dec 15 07:45:58 2009] [notice] Child 1764: Child process is running

[Tue Dec 15 07:45:58 2009] [notice] Child 1764: Acquired the start mutex.

[Tue Dec 15 07:45:58 2009] [notice] Child 1764: Starting 64 worker threads.

[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:41:08

[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



Any help would be greatly appreciated.
RE:
NetworkNerd007 Y-m-d H:i:s

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.

The support forums can be found at http://forum.myownserver.info.
Thanks.
error
SlompOchomp Y-m-d H:i:s

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 13:05: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 13:05:27 2010] [notice] Child 2560: Released the start mutex

[Thu Mar 11 13:05:28 2010] [notice] Child 2560: All worker threads have exited.

[Thu Mar 11 13:05:28 2010] [notice] Child 2560: Child process is exiting

[Thu Mar 11 13:05:56 2010] [notice] Parent: Forcing termination of child process
36

RE:error
NetworkNerd007 Y-m-d H:i:s

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.
error
razvan Y-m-d H:i:s


I'm getting the message...
PHP Warning: PHP Startup: ffmpeg: Unable to initialize module
Module compiled with module API=20060613
PHP compiled with module API=20090626
Leave feedback
Name:
Your email:
 
Website:
Message Title:
Formatting:
[b] [i] [u] [url] [quote] [code] [img] 
 
:angry::0:confused::cheer:B):evil::silly::dry::lol::kiss::D:pinch:
:(:shock::X:side::):P:unsure::woohoo::huh::whistle:;):s
:!::?::idea::arrow:
Enter the text as you see it in the image.

!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.

Thank you for your participation in this!

Open SourceApache HTTP Server ProjectMySQLPHP
Twitter Feed
28.04.10
Ubuntu 10.04 Lucid releases tomorrow and it's going to be great! Read my overview at http://is.gd/bMiiL
24.04.10
New http://myownserver.info website in the works! Check it out at http://myownserver.info/wiki/ and feel free to contribute.
17.04.10
Petition to bring development on Rapache back! If you like Rapache, please participate in this! http://wp.me/prBVg-1n
14.04.10
New configuration tutorial for exim4. If you are savvy with exim4, please give me a shout! http://bit.ly/cPYtSP
31.12.09
Finally! Want to set your server up to send emails via your PHP scripts? Check out my tutorial on Exim4 on Ubuntu! http://wp.me/ppEQZ-4d
29.12.09
Have you ever wanted to create your own personal URL shortening/re-direct service? Here's a very simple how-to: http://tinyurl.com/ykgx79l
24.12.09
Merry Christmas to everyone!
14.12.09
Check out this cool forum script running on a text file database! No mysql database needed! Myupb is this and more. http://tiny.cc/myupb
11.12.09
Concrete 5 – A really cool, easy to use CMS script! Start building your website with this free app! http://tiny.cc/dWncn
03.11.09
I decided to start my own IRC channel since I'm on it quite often anyways. Join me on channel #myownserver.info .
16.09.09
Tutorials on creating your own bittorrent setup is finished! Read more at http://tinyurl.com/bittorrent-how-to
16.09.09
Make your own torrent server and tracker tutorial coming soon!
15.09.09
Finished posting Drupal 6.13 on XAMPP tutorial. http://tinyurl.com/drupal613
14.09.09
I re-wrote the port forwarding tutorial and added a video tutorial to it as well. http://tinyurl.com/portforwardingtutorial
13.09.09
Can you make PHP 5.2 and PHP 5.3 run on a single Apache2 server? If so, PLEASE contact me and share how to do so! Thanks.
12.09.09
XAMPP 1.7.2 Hybrid project completed and was successful. Read the results at http://tinyurl.com/xampp172-hybrid
11.09.09
Hybrid XAMPP . . . I really need a life. Read about it at http://tinyurl.com/hybridxampp
11.09.09
@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.

Powered by easy paypal donation

Survey
Which is better?
 
Search
User Login



Visitors


Countries

31.2%United States United States
8.4%United Kingdom United Kingdom
7.4%India India
4.4%Australia Australia
4.2%Canada Canada

Visitors

Today: 40
Yesterday: 152
This Week: 827
Last Week: 1121
This Month: 4731
Last Month: 4987
Total: 49962


JoomlaWatch Stats 1.2.9 by Matej Koval