Apache
  Home arrow Apache arrow Creating a VAMP (Vista, Apache, MySQL, PHP) Setup
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
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? 
Google.com  
APACHE

Creating a VAMP (Vista, Apache, MySQL, PHP) Setup
By: Dan Wellman
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 33
    2008-05-20


    Table of Contents:
  • Creating a VAMP (Vista, Apache, MySQL, PHP) Setup
  • Installing and Configuring Apache
  • PHP
  • MySQL
  • Configuring

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log 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


    Creating a VAMP (Vista, Apache, MySQL, PHP) Setup
    ( Page 1 of 5 )

    With the abundance of communication between the browser and a server in these days of AJAX and JSON data interchange, there has never been a better time to get your own development web server set up so that you can test all those dynamic scripts you’re writing. This article will show you how to do it using some of the most popular software.

    Apache is still undeniably the most popular, and many would say the best, web server available; it's secure, easy to configure, highly scalable, and above all else, it's completely open source and therefore totally free. The current stable version of Apache is 2.2.8, which is the version we'll be installing during the course of this article. To download it, visit the Apache downloads page.

    In the database world, the MySQL server from Sun Microsystems is a popular, open source and flexible solution for data storage and retrieval. A database server is crucial for dynamically allowing visitors to save personal details securely for later visits, and is usually used to store login information and products. Although there is an enterprise version for which you must pay, the MySQL community server is completely free. The most recent version, which we'll be working with today, is version 5.0. It's available on this page of the MySQL site.

    JavaScript alone cannot work directly with the data stored in your MySQL database unfortunately, so to make your AJAX really effective, you'll need a server language to act as an interface. PHP is perfect for this; it's well established, has a huge developer following and is powerful and robust. Again, it's open source and free; get it now from the PHP site. The current version is 5.2.6; make sure you download the zip file and not the installer. The zip file comes with a lot of additional extensions, such as the cURL library and the MySQL DLL, as well as the file essential for Apache to run PHP files correctly, which for some reason do not come as standard with the installer.

    Apache is more secure and runs better (although not by much these days) on UNIX-derived systems, but many developers have Windows-based machines. Does this mean that we must rely on the proprietary IIS from Microsoft (Vista Basic users can't even run IIS7) ? Of course not, Apache runs very well on a Windows system, and the process of installing the three required elements is very easy. If you've downloaded the binary installers for Apache and MySQL, and you have the PHP zip file, we're ready to begin.



     
     
    >>> More Apache Articles          >>> More By Dan Wellman
     

       

    APACHE ARTICLES

    - Creating a VAMP (Vista, Apache, MySQL, PHP) ...
    - Putting Apache in Jail
    - Containing Intrusions in Apache
    - Server Limits for Apache Security
    - Setting Permissions in Apache
    - Installing Apache
    - Apache Installation and Configuration
    - Apache Tapestry and Custom Components: DateI...
    - Tapestry and AJAX: Autocompleter and InlineE...
    - PropertySelection and IPropertySelectionMode...
    - The DatePicker and Shell Components of Apach...
    - Apache Tapestry: ASO and More Components
    - Apache Tapestry and DirectLink, IoC and DI
    - Making a CelebrityCollector with Apache Tape...
    - Apache Tapestry and Listener Methods, Condit...





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 4 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek