Apache
  Home arrow Apache arrow Page 3 - Installing PHP under Windows
Dev Articles Forums 
ADO.NET  
Apache  
ASP  
ASP.NET  
C#  
C++  
ColdFusion  
COM/COM+  
Delphi-Kylix  
Design Usability  
Development Cycles  
DHTML  
Embedded Tools  
Flash  
Graphic Design  
HTML  
IIS  
Interviews  
Java  
JavaScript  
MySQL  
Oracle  
Photoshop  
PHP  
Reviews  
Ruby-on-Rails  
SQL  
SQL Server  
Style Sheets  
VB.Net  
Visual Basic  
Web Authoring  
Web Services  
Web Standards  
XML  
Mobile Linux 
App Generation ROI 
IBM® developerWorks 
Weekly Newsletter
 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid 
Request Media Kit
Contact Us 
Site Map 
Privacy Policy 
Support 
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
APACHE

Installing PHP under Windows
By: Matthew Phillips
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: 5 stars5 stars5 stars5 stars5 stars / 240
    2003-10-22

    Table of Contents:
  • Installing PHP under Windows
  • What is it?
  • Installation - Apache
  • Installation Cont'd - MySQL
  • Installation Cont'd - PHP
  • Testing It All

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      Del.ici.ous Digg
      Blink Simpy
      Google Spurl
      Y! MyWeb Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article
     
     
    ADVERTISEMENT


    Installing PHP under Windows - Installation - Apache


    (Page 3 of 6 )

    Download Appropriate Files

    • Get the latest version of the Apache HTTP Server from http://httpd.apache.org/.  Make sure you get the Win32 Binary (MSI Installer) version
    • Get the latest version of MySQL, with installer, from www.mysql.com
    • Get the latest version of PHP from www.php.net.  Make sure you get the ZIP file with server API included

    Install Apache Web Server

    Run the Apache installer, and follow all on screen instructions. As you are setting this up for development and testing, the Network Domain and Server Name will both be ‘localhost’ (No quote marks). For the contact address, enter any email address you want; it’s not really important on a development/test server. Make sure Apache is installed as a service.

    Test Apache Web Server

    Open your web browser, and navigate to the address ’localhost’ (or http://localhost/). You should see a lovely page telling you Apache has been set up and is working correctly, but no pages have yet been added. If you’d like to at this stage, you may add any html pages you want. If you installed Apache with the default paths, go to the directory ‘C:\Program Files\Apache Group\Apache2\htdocs’; this is where any pages you want to make available are kept. Feel free to delete all the pages that start with index and add your own index.html file. index.html will be the first page you see when you go to http://localhost/, try it out, add your own! Congratulations your web server is up and running!

    More Apache Articles
    More By Matthew Phillips


       · My configuration is:Windows XP, Apache Web Server 2.2.9, PHP 5.2.6 and MySQL...
       · Apparently this tutorial was for php 4 and all of the filenames/directories are...
       · When I open up the Dos screan:"Microsoft Windows XP [versie 5.1.2600](C)...
       · got it working ^^everything seems to workthe only thing that happend is th...
       · well, first of all, it says:"Create a new file called "test_insert_mysql.php" and...
       · I corrected the mistake, however, it does not seem to connect mysql with php.....
       · Uncomment (remove leading semi-colon) in php.ini...
       · echo $row->text . ‘<br>’;should be echo $row->text . "<br>";
       · I found a verry simple PHP Webserver with integrated PHP 5.6.2 support. So i dont...
       · You can check out the solution at this link which i think is a little newer and may...
     

    APACHE ARTICLES

    - Programmatically Manipulating Microsoft Exce...
    - Installing PHP under Windows
    - Compressing Web Content with mod_gzip and mo...
    - Compressing Web Output Using mod_deflate and...
    - Setting Up Apache 2.0.45 to Parse PHP Pages
    - Custom Error 404 Documents with PHP
    - Using Apache and PHP on Mac OS X
    - ASP: Active Sessions, Active Logins and Tota...
    - Working With Oracle on Windows: Part 1
    - The Quick-n-Dirty Guide to Setting Up Apache...
    - Installing Apache With SSL: The Complete Gui...
    - 7 Powerful .htaccess Customization Tips
    - Trap And Get Notified: A Practical Solution ...
    - One Way To Use Server Side Includes
    - Using ForceType For Nicer Page URLs







    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    Stay green...Green IT