Apache, MySQL & PHP for Windows
July 12th, 2008Apache, MysQL and PHP for Windows could be a pleasant pleasant abstract to hit on your Windows workstation. You could essay and research with every kinds of pleasant PHP and MySQL supported applications correct on your Windows screen streaming Apache, instead of having to admittance a full-featured server.
Most grouping hit Windows as their workstation and it crapper be sometimes arduous to
alter to added operative system. So, you haw hit ever desired to separate PHP
applications on your Windows organisation but wondered if it is likewise arduous to establish or
if the chivvy module be worth it.
This article gives you the primary aggregation to intend started correct away. Even if you
are a cured PHP, MySQL and Athapascan guru, the checklist beneath module ease be adjuvant
in your artefact process.
There are lots of 3rd band code that bundles Apache, MySQL & PHP in digit
collection and installs them on our computer. We do not propose this and declare
that you direct intend Apache, MySQL & PHP from their authorised sites.
Apache
1. Get Athapascan 1.3.33 from here: http://httpd.apache.org/download.cgi.
2. Choose a mirror near to you and in the aforementioned page, countenance for the Win32 Binary
(Self extracting) file: apache_1.3.33-win32-x86-no_src.exe.
3. Download the enter and spend it on your hornlike disk. Run the installer and the self-
extracting wizard module pass you finished the rest of the steps. Choose every the choice
settings and separate Athapascan as a service.
4. Remember to locate “localhost” when asked for a Server name/Domain name. Use
“administrator@localhost” when asked for the administrative telecommunicate account.
5. Now saucer your application to: http://localhost and you should wager an Athapascan Test
Page.
6. You crapper add this tender by creating an “index.html” tender here “C:Program
FilesApache GroupApachehtdocs”.
7. You crapper manually advise and kibosh the Athapascan server. In a Windows bidding
prompt, identify “net kibosh apache” or “net advise 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, opt Windows Essentials (x86) and
utter on the Pick a Mirror link.
3. Download the enter mysql-4.1.7-essential-win.msi and spend it on your hornlike disk.
Run the installer and the self-extracting wizard module pass you finished the rest of
the steps. Remember the stem countersign when prompted for it in the artefact
process.
4. Once the artefact is done, on your Windows toolbar, go to “Start->Programs-
>MySQL->MySQL Server 4.1->MySQL Command Line Client”.
5. Type the stem countersign and you should be logged in to the MySQL shell.
6. Type “show databases;” to wager the itemize 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, opt the file: PHP 4.3.10 fix collection filler
7,405Kb dated 15 Dec 2004.
3. Download the enter and spend it on your hornlike disk. Unzip the enter and rename the
extracted folder to “php”. Now advise this folder “php” and locate it low “C:
Program Files”.
4. Move every the files low “C:Program Filesphpdlls” and “C:Program
Filesphpsapi” to here: “C:Program Filesphp”.
5. Copy the enter php.ini-recommended to “C:WINDOWS” and rename it to php.ini
6. Edit your Athapascan “httpd.conf” plan enter settled here: “C:Program
FilesApache GroupApacheconf”.
7. Add the mass 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 kibosh your machine by supply the mass bidding in Windows bidding
prompt: “net kibosh apache”. Then identify “net advise apache” to advise your server. We are
today feat to effort the PHP installation.
9. Go to “C:Program FilesApache GroupApachehtdocs” and create a enter test.php
10. Edit test.php and add the mass code:
11. Point your application to http://localhost/test.php and you should wager a aggregation of PHP
plan information.
Congratulations! You today hit Apache, MySQL and PHP installed in your computer.
Now you crapper establish your selection playscript correct on your Windows workstation.
Sanjib Ahmad, Freelance Writer and Product Consultant for Business.Marc8.com - Business Best Sellers.
You are
liberated to ingest this article in its completeness as daylong as you yield every course in place, do not
add the content, and allow the inventiveness incase traded above.