Navigation:    Home arrow Installing Apache, PHP & MySQL
Installing Apache, PHP, MySQL on a Windows 98/2000/XP Computer PDF  
Digg Reddit Ma.gnolia Stumble Upon Facebook Twitter Google Yahoo! MyWeb Furl" BlinkList Technorati Mixx Bookmark
Article Index
Installing Apache, PHP, MySQL on a Windows 98/2000/XP Computer
Page 2
Page 3
Page 4

Step 2. On Windows click on Start button, choose Run, and type "cmd".

After that a terminal window will appear. There type the following commands:

cd c:\program files\apache group\apache\bin
apache.exe -k install
apache.exe -k start

If first command is not working see where apache is installed and type:
cd apache_installed_path

Step 3. Testing the Installation of Apache

Ok, We have installed Apache, now is time to test the proper working of it. Open your Web Browser and type at address: http://localhost and press enter. After that a page shoud load into your browser with a message: "The Apache server is now installed on this web site!". If you see this message then you've succesfuly installed Apache Web Server.

Installing Apache Web Server is an important step in getting to work your Apache/PHP/MySQL system. If your Apache installation failed, verify to not have other web server running. Also check httpd.conf file located in the directory where you installed Apache.

You still cannot make Apache to work, visit Apache Website ( More information about similar problems you yours coud be found on Apache Mailing Lists (

Step 4. Download PHP from the Internet and configure it

Go to download page of PHP: and download the Windows Binaries version.
The file you've downloaded is a zip archive. You must unzip it and copy in a directory for example in c:\php4win.

Create another directory where all your work file (php sourcecode) will be holded. This directory coud be for example c:\phpwebsite.

Copy the file c:\php4win\php-dist.ini from c:\php4win directory (where you extracted the zip archive) to c:\php4win\php.ini file.

Edit c:\php4win\php.ini file with an text editor (notepad for example) and modify the values doc_root, and extension_dir like in the following example:

; paths and directories
doc_root = "c:\phpwebsite"
extension_dir = "c:\php4win"

Copy php.ini and php4ts.dll in c:\windows (or c:\winnt, if you've installed windows in winnt directory).

Delete php.ini file from c:\php4win directory.

After this PHP is installed into your system.