Apache, MySQL & php for windows





Apache, MysQL and Hypertext Preprocessor for home windows could be a nice fine aspect to have on your home windows laptop. you may try and test with all forms of best php and MySQL based totally applications proper on your windows desktop walking Apache, rather of having to get entry to a complete-featured server.

the general public have windows as their computer and it is able to be every so often hard to
transfer to some other running gadget. So, you can have constantly wanted to run personal home page
applications on your home windows device but wondered if it's miles too difficult to install or
if the problem might be worth it.

this text gives you the critical statistics to get started proper away. Even in case you
are a pro php, MySQL and Apache guru, the checklist beneath will still be beneficial
for your installation system.

There are masses of third party software that bundles Apache, MySQL & personal home page in one
package deal and installs them on our pc. We do now not advocate this and advocate
that you immediately get Apache, MySQL & php from their reputable websites.

Apache

1. Get Apache 1.three.33 from right here: http://httpd.apache.org/down load.cgi.

2. pick out a mirror close to you and in the identical page, search for the Win32 Binary
(Self extracting) record: apache_1.three.33-win32-x86-no_src.exe.

three. down load the file and save it to your tough disk. Run the installer and the self-
extracting wizard will guide you via the rest of the steps. choose all the default
settings and run Apache as a service.

four. don't forget to position "localhost" while requested for a Server name/domain name. Use
"administrator@localhost" while asked for the administrative electronic mail account.

5. Now factor your browser to: [http://localhost] and also you should see an Apache check
web page.

6. you can alternate this web page by growing an "index.html" page right here "C:program
FilesApache GroupApachehtdocs".

7. you could manually begin and stop the Apache server. In a windows command
prompt, type "internet stop apache" or "internet begin apache".

MySQL

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

2. beneath the home windows downloads section, select home windows necessities (x86) and
click at the choose a reflect link.

3. download the file mysql-four.1.7-essential-win.msi and store it in your tough disk.
Run the installer and the self-extracting wizard will manual you via the rest of
the stairs. take into account the root password when caused for it in the installation
process.

four. once the set up is finished, to your home windows toolbar, visit "begin->applications-
>MySQL->MySQL Server four.1->MySQL Command Line purchaser".

five. kind the basis password and you need to be logged in to the MySQL shell.

6. type "show databases;" to look the list of databases. kind "cease" while you are
performed.

personal home page

1. Get php four.three.10 from here: http://www.personal home page.net/downloads.personal home page

2. below the windows Binaries phase, choose the report: php four.3.10 zip package deal size
7,405Kb dated 15 Dec 2004.

3. down load the document and shop it for your difficult disk. Unzip the report and rename the
extracted folder to "php". Now flow this folder "personal home page" and vicinity it under "C:
application files".

4. circulate all the documents underneath "C:software Filesphpdlls" and "C:program
Filesphpsapi" to right here: "C:application Filesphp".

five. copy the file personal home page.ini-encouraged to "C:windows" and rename it to personal home page.ini

6. Edit your Apache "httpd.conf" configuration record placed right here: "C:application
FilesApache GroupApacheconf".

7. upload the subsequent traces in httpd.conf:

LoadModule php4_module "C:/program documents/Hypertext Preprocessor/php4apache.dll"

AddModule mod_php4.c

AddType application/x-httpd-Hypertext Preprocessor .php

eight. Now forestall your server by way of issuing the subsequent command in windows command
spark off: "net prevent apache". Then kind "net begin apache" to begin your server. we are
now going to check the php installation.

9. visit "C:software FilesApache GroupApachehtdocs" and create a document test.Hypertext Preprocessor

10. Edit test.personal home page and add the subsequent code:

 php
phpinfo();
?>

11. factor your browser to [http://localhost/test.php] and also you must see quite a few Hypertext Preprocessor
configuration statistics.

Congratulations! you currently have Apache, MySQL and personal home page installed for your pc.
Now you could installation your favored script proper on your home windows workstation.

No comments

Powered by Blogger.