Help us stay free, Link back to us! General Information - Bookmark this page

Apache, MySQL & PHP for Windows

Apache, MysQL and PHP for Windows could be a nice nice thing to have on your Windows workstation. You could try and experiment with all kinds of nice PHP and MySQL based applications right on your Windows desktop running Apache, instead of having to access a full-featured server.

Most people have Windows as their workstation and it can be sometimes difficult to switch to another operating system. So, you may have always wanted to run PHP applications on your Windows machine but wondered if it is too difficult to install or if the hassle will be worth it.

This article gives you the essential information to get started right away. Even if you are a seasoned PHP, MySQL and Apache guru, the checklist below will still be helpful in your installation process.

There are lots of 3rd party software that bundles Apache, MySQL & PHP in one package and installs them on our computer. We do not recommend this and suggest that you directly get Apache, MySQL & PHP from their official sites.

Apache

1. Get Apache 1.3.33 from here: http://httpd.apache.org/download.cgi.

2. Choose a mirror close to you and in the same page, look for the Win32 Binary (Self extracting) file: apache_1.3.33-win32-x86-no_src.exe.

3. Download the file and save it on your hard disk. Run the installer and the self- extracting wizard will guide you through the rest of the steps. Choose all the default settings and run Apache as a service.

4. Remember to put "localhost" when asked for a Server name/Domain name. Use "administrator@localhost" when asked for the administrative email account.

5. Now point your browser to: http://localhost and you should see an Apache Test Page.

6. You can change this page by creating an "index.html" page here "C:Program FilesApache GroupApachehtdocs".

7. You can manually start and stop the Apache server. In a Windows command prompt, type "net stop apache" or "net start apache".

MySQL

1. Get MySQL 4.1.7 from here: http://dev.mysql.com/downloads/mysql/4.1.html

2. Under the Windows downloads section, choose Windows Essentials (x86) and click on the Pick a Mirror link.

3. Download the file mysql-4.1.7-essential-win.msi and save it on your hard disk. Run the installer and the self-extracting wizard will guide you through the rest of the steps. Remember the root password when prompted for it in the installation process.

4. Once the installation is done, on your Windows toolbar, go to "Start->Programs- >MySQL->MySQL Server 4.1->MySQL Command Line Client".

5. Type the root password and you should be logged in to the MySQL shell.

6. Type "show databases;" to see the list of databases. Type "quit" when you are done.

PHP

1. Get PHP 4.3.10 from here: http://www.php.net/downloads.php

2. Under the Windows Binaries section, choose the file: PHP 4.3.10 zip package size 7,405Kb dated 15 Dec 2004.

3. Download the file and save it on your hard disk. Unzip the file and rename the extracted folder to "php". Now move this folder "php" and place it under "C: Program Files".

4. Move all the files under "C:Program Filesphpdlls" and "C:Program Filesphpsapi" to here: "C:Program Filesphp".

5. Copy the file php.ini-recommended to "C:WINDOWS" and rename it to php.ini

6. Edit your Apache "httpd.conf" configuration file located here: "C:Program FilesApache GroupApacheconf".

7. Add the following lines in httpd.conf:

LoadModule php4_module "C:/Program Files/php/php4apache.dll"
AddModule mod_php4.c
AddType application/x-httpd-php .php

8. Now stop your server by issuing the following command in Windows command prompt: "net stop apache". Then type "net start apache" to start your server. We are now going to test the PHP installation.

9. Go to "C:Program FilesApache GroupApachehtdocs" and create a file test.php

10. Edit test.php and add the following code:

11. Point your browser to http://localhost/test.php and you should see a lot of PHP configuration information.

Congratulations! You now have Apache, MySQL and PHP installed in your computer. Now you can install your favorite script right on your Windows workstation.

Sanjib Ahmad, Freelance Writer and Product Consultant for Business.Marc8.com - Business Best Sellers.

You are free to use this article in its entirety as long as you leave all links in place, do not modify the content, and include the resource box listed above.

In The News:


Personal Tech: Army to use video games for training
Salt Lake Tribune, United States - Dec 1, 2008
AP New York » The US Army plans to invest $50 million over five years to develop video games for use in training soldiers for combat, according to a report ...

Personal Tech: Music lovers have lots of portable options
Salt Lake Tribune, United States - Dec 1, 2008
AP The Microsoft Zune sports a touch pad and sharp screen that make it easy and fun to check out all your music, photos and videos. ...

10 Things You Can Do to Give Your Computer a "Makeover"
MarketWatch - Dec 2, 2008
This according to BluePhone ( www.bluephone.com), the personal tech support hotline and "At Home Help Desk" that helps consumers get maximum value out of ...

Texas Tech Develops Technology For Chemical Clean-Up
KCBD-TV, TX - 54 minutes ago
"The flexible form of this fabric allows it to conform to virtually any shape and size, which is unique for personal decontamination. ...

10 Things You Can Do to Give Your Computer a "Makeover"
International Business Times, NY - Dec 2, 2008
This according to BluePhone (www.bluephone.com), the personal tech supporthotline and "At Home Help Desk" that helps consumers get maximum value outof their ...

Personal Tech: Digital cameras go big on video
Salt Lake Tribune, United States - Nov 24, 2008
By Ron Harris AP Writer The holiday season brings good tidings for shutterbugs. Whether you're shopping for someone new to digital cameras or a seasoned ...

Personal Tech: Military launches TroopTube
Salt Lake Tribune, United States - Nov 17, 2008
Members can upload personal videos from anywhere with an Internet connection, but a Pentagon employee screens each for taste, copyright violations and ...

Job sites vs. personal networks: How I'm looking for work in the ...
TechFlash, WA - 3 hours ago
Nearly every job I’ve ever been offered has been a result of a personal connection, be it a part-time fundraising position offered by a college friend’s dad ...

Personal Tech: Tennesee boasts world's fastest unclassified computer
Salt Lake Tribune, United States - Nov 17, 2008
AP The Department of Energy's Oak Ridge National Laboratory in Oak Ridge, Tenn. released this photograph Nov. 10 showing some of the 284 computer cabinets ...

'Tech satyagraha' nets big gains in Mumbai
Times of India, India - 4 hours ago
But the email and mobile are very personal mediums,'' he adds. The most prominent example is Barack Obama - whose victory in the US Presidential elections ...
personal tech - Google News

iPod users get the picture

iPod users start to get the picture and it's turning out to be colorful fun!!The latest generation of hi tech gadget users are watching the different media they use start to converge as... Read More

Dont Let the Internet Overstimulate Your Mind

The Internet is an awesome tool, but be careful and aware that the cloud of over stimulation doesn't invade your mind.It seems we have to become aware of a new problem that is... Read More

Ergonomics and Healthy Computing - Positioning Your Body For Maximum Comfort At Your Computer

Do you remember the old saw about how computers would change our lives for the better? We'd have more time to ourselves and lead healthier, happier lives. The truth is computers do make... Read More

Home Electronics: The Facts About Plasma TV

Not so many years ago, homes across the country watched their favorite TV shows on a bulky floor model that took awhile to warm up before you could see the picture, didn't offer... Read More

Cisco Certification: What To Expect On Exam Day

Cisco Certification: Taking Your First Certification ExamYou've studied hard; you've practiced your configurations; you've used your flash cards over and over again; and finally, the big day is here. Your first certification exam!For... Read More

The Best MP3 Players Under $100

You don't have to fork out $250 for a super-diggy-whizbang mp3 player, do you? There are cheap mp3 players to be had, with a host of features perfectly suitable for everyday use. Here... Read More

A Lesson in HTML

As the owner of a Country Mall and Top Site List, I have been asked several times about what to put in the sign up form when it asks for the URL or... Read More

The Importance Of Email Backup

Viruses, software failures, power failures, human errors, hard drive failures are only a few examples of what could destroy the data on a hard drive, including all documents, pictures, emails and other files!Most... Read More

Flash Memory, Part I: MMC and SD

MMC and SDFlash memory is available in so many formats that it can be difficult to know what will work with any particular device. Devices such as MP3 players, PDAs, mobile phones, digital... Read More

Does Microsoft Show Hackers How To Attack?

After another security hole recently surfaced in Microsoft's Windows operating system, the software giant released a patch this past Friday to plug the possibly devastating "back door" which allows hackers to potentially seize... Read More

Password Nightmares

Good Morning Mr. Sampson. Please type in you Personal Identification NumberXXXXXXSorry, Mr. Forgetful Idiot! That is not the correct password. Please slap yourself three times around your head and then apply for a... Read More

Build Your Own Computer

I'm eighty-one years old and I bought my first computer six years ago. When I bought it I hardly knew how to turn it on. I consider myself still a Newbie as I've... Read More

5 Steps to Remove Spyware for Free

Have you ever tried to remove Spyware off your PC only to find out it never left or it came back? Tired of all those annoying Popups, Viruses, and Ads on your system... Read More

Is Online DVD Rental or Pay-Per-View the Best Way to Get Your Movies?

With renting methods such as online DVD rental and pay-per-view, it seems almost old-fashioned to go to the rental store. But with all the different ways to get the latest movies, which way... Read More

What Are You Looking For In A Cheap MP3 Player?

Are you stymied by the vast offerings in cheap mp3 players? Don't know which features best suit your needs? Here are some suggestions based upon product reviews by mp3 player owners.The first thing... Read More

EDTV: What You Should Know Before You Make That Purchase

Enhanced Definition Television ? also known as EDTV ? is one of the many modern viewing technologies of our time. Often confused with HDTV capability, this is actually a compromise between standard TV... Read More

Virtual Memory - What is It?

I recently got an e-mail asking about virtual memory. The person who sent me the question was getting an error on random occasions from their Windows operating system stating "Your computer is low... Read More

How to Protect your PC from Spyware in the Cyber Age

Wouldn't you be shocked to find that your personal sensitive information, like files, credit card information, operating system / software and other non-disclosed data to be penetrated by unscrupulous prying eyes? Even worse..."Is... Read More

HTML Explained: Part 2

Get started creating web pages using text files and HTML code! This article is a continuation of HTML Explained: Part 1, which gives a general overview of HTML. Here, we're going to get... Read More

Toshiba Wins Hollywood Support for the HD DVD format

What led them to this choice, as all four studios stated separately, is better performance for the price and copyright protection.The other standard in competition, the Blu-ray disc, unconditionally backed by Sony Pictures... Read More

Faster Browsing Tips

IF WE say that it was mainly because of the Windows operating system that a Computer could become a personal computer it would not be an exaggeration. The revolution is still on. Windows... Read More

7 Reasons NOT to Take Your Laptop on Holiday!

Heading off on vacation soon?Then perhaps you're tempted to take your trusty laptop along for the trip.After all, you bought it for its mobility, and it's nice to stay in touch via email... Read More

Five Simple Steps to Speed up Your Computer

Most people download and save so much information on their computer that before long the computer starts slowing down and the user has no idea what the problem is. However, even if you... Read More

Portable Technology: Getting to Know the Treo

Up until the recent past, those who wanted to take advantage of a mobile phone, data organizer, wireless e-mail with text messaging, web browsing and a digital camera had to have separate units... Read More

Getting Started with HTML

The basic language of the internet is html. If you can do crossword puzzles, if you can write a report for your teacher or boss, you can be creating web pages in a... Read More

Basic Computer Maintenance

One of the most common questions computer users ask is, "How do I maintain my computer and keep it running great?" A computer is a lot like a car?it costs more than you... Read More

5 Steps to Removing PC Clutter

It's hard enough as it is these days to get organized and then remain that way for weeks and months down the road. We are all very busy people, some of us with... Read More

Why Build Your Own Gaming Computer?

The best way to get the gaming computer that you want, that will provide optimum performance is to build your own computer. If you think you do not have the technical knowledge or... Read More

5 Simple Ways To Increase Your Computer Speed & Help Your Computer Run More Efficiently!

If you're a computer expert, you'll probably already know about these tips (hopefully this will provide you with a little reminder). If you're not an expert, don't worry - these tips are simple,... Read More

GOOGLE AD