Apache
  Home arrow Apache arrow Page 4 - 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 - MySQL
    ( Page 4 of 5 )

    Speaking of MySQL, installing this is our next task. Run the installer and click through all of the install wizard screens, selecting the defaults. Once the installer has finished, the configuration wizard will launch; you can click through each screen, mostly just going with the default options. On the Enable TCP/IP Networking screen, make sure the Add Firewall exception for this port checkbox is selected to prevent your firewall blocking the port used by the MySQL server. You'll also want to set a password on the Modify Security Settings page. The application should then configure itself.

    Now we need to test that everything worked as it should. To open the MySQL command line interface go to:

    Start -> All Programs -> MySQL -> MySQL Server 5.0 -> MySQL Command Line Client

    You'll be prompted for a password. Use the one that you chose when installing MySQL. You should then see the welcome message and command prompt. At the prompt type SHOW DATABASES;

     

    These are the built-in databases that come with MySQL and this shows that the database server is running. Enter the command USE test; in the CLI to select the test database, and then enter the command:

    CREATE TABLE people (name VARCHAR(20), likes VARCHAR(20));

    This will create a new table called people in the test database. To add some data to the table use the following command: INSERT INTO people VALUES ('Dan', 'House music');



     
     
    >>> 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 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek