|
|
|
|
|
|
||
|
|
||
|
|
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.
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
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
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
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: 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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
With the new technology used to transfer information to from your digital camera to your laptop or PC using memory sticks which hold significant amounts of data it appears such technology will be... Read More
Windows Media Player 10 has been full of bugs from Microsoft since they offered it as a download from their site. Windows Media Player 9 was nice and simple. Windows Media Player 10... Read More
The Internet can be a dangerous place.While you're enjoying the convenience of online shopping, Internet banking and subscription websites, nasty people lurk around every corner.Hackers, fraudsters, identity thieves and many others would love... Read More
Flow Text Around a GraphicQuestion: I have inserted a photo in my Word document but when I try to make my text go around the photo, it will only go above and below... Read More
A computer needs a certain amount of information to operate; for example, the date and time, the amount of memory installed, the number of drives and their configuration, and so on. In the... Read More
In the first part of this home lab tutorial, CCNA and CCNP candidates can see that there are a LOT of choices when it comes to what to buy to build your own... Read More
So you've got some spyware, ad-ware, or viruses on your system. For whatever reason, you are unable to get ahold of a virus detection & removal program, or a good ad-ware scanner. Maybe... Read More
So I'll start from the very beginning.One day I was surfing in the web and I found one site -- www.digitalblasphemy.com and I browsed it. I was inspired by the 3D graphics' realism... Read More
Although there are many things that can affect the performance of your computer, there are a few simply things you can do each month to help keep your computer running at maximum performance.... Read More
On 21 August 2003 Symantec Security Response upgraded the W32.SOBIG.F threat to a category 4.It is the sixth version of this worm.SOBIG.F follows a computer worm known as "Blaster," or "MSBlaster," which infected... Read More
Using SQL Server 2000 and above versions you can retrieve data from SQL Server in XML format directly from the database. Many XML related features were incorporated in the SQL Server database. This... Read More
Feeling overwhelmed in selecting a new TV? With all the choices these days, you may feel like, "Where do I start?!"In part 4 of our 5 part article, we the discuss "do I... Read More
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
Sometimes your PC will start acting strange for no apparent reason or a program which you use regularly will all of a sudden stop working as it should. This can be a frustrating... Read More
Stimulus thru Caffiene or Visual Input?It appears that the Mobi TV feature for Cell Phones may in fact have some positive Bio-advantages in that it exercises the brain thru visual stimulation. We know... Read More
When studying for your Cisco CCNA, CCNP, or CCIE exam, you've got a powerful online weapon at your disposal. It's Cisco Connection Documentation, found at www.cisco.com/univercd. This site contains product, code, and protocol... Read More
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
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
In Windows Xp, you can install two operating systems on the same hard disk of one computer.Whether you have two copies of Windows Xp, or two different operating systems, then you end up... Read More
You have your television and home theater receiver; you just bought your new speakers and subwoofer and are ready to test things out. It's time to break out the measuring tape because precision... Read More
When browsing the internet you are likely to come across many different image formats. However, the most common formats are: CompuServe GIF, JPEG, and Bitmaps.CompuServe GIFGIF stands for Graphic Interchange Format and was... Read More
It's free, it comes with Windows and it's used by approximately 94% of the Internet population. It also poses an unacceptable security risk. What am I talking about? If you guessed Internet Explorer,... Read More
File Transfer Protocol (FTP) is a protocol that is part of the TCP/IP suite. It is the standard for transferring large amounts of data from server to server and from servers to clients.... Read More
Just The Facts, Ma'mPalm pilots are all the rage now. Everyone has a pda or wants to get one in the near future. If you don't know much about a pda, however, it... Read More
Have you ever thought about building your own computer system? Maybe you've heard friends talking about doing this sort of thing, but you were never sure what was involved. This article attempts to... Read More
Those small USB drives have so many names, pocket drives, thumb drives, USB Pen, Jump drives, and several other names, but when it comes down to it, we are all talking about a... Read More
One of the most confusing parts of beginning your Cisco studies is keeping all the cable types separate in your mind, and then remembering what they're used for. This often occurs when a... Read More
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
In the years of the dot com boom and bust, the Microsoft MCSE Certification has gotten its eye blackened over an over. Paper Microsoft MCSE's who were excellent at finding brain dumps and... Read More
| GOOGLE AD |
Personal Technology Personal Technology |