Preview

Setting up a PHP Development Environment

Powerful Essays
Open Document
Open Document
5787 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Setting up a PHP Development Environment
Additional Requirements

XAMPP (if you have Windows) • Learn more

MAMP (if you have Mac OS X) • Learn more

This tutorial describes how to set up a development environment on a Windows or a Macintosh computer for building PHP web applications with Adobe Dreamweaver and a MySQL database server.

Setting up a PHP development environment for Dreamweaver requires a web server (such as Apache or IIS), PHP, and a MySQL database. Although you can install all three separately, it's usually much simpler to use an all-in-one solution, such as XAMPP for Windows or MAMP for Mac OS X.

Note: PHP can be used with most database systems. However, Dreamweaver's PHP server behaviors support only MySQL.

This setup tutorial shows you how to complete the following tasks:

• Install and run a PHP-enabled web server on your local computer • Install the MySQL database server on your local computer • Define a PHP site in Dreamweaver CS5 • Import data into MySQL and create a MySQL user account for your web application • Connect to a sample database

1. Setting up PHP for Windows

PHP pages need to be processed through a web server. So, to develop with PHP in Dreamweaver, you need access to a PHP-enabled web server and the MySQL database. It's also useful to have phpMyAdmin, a graphical interface to MySQL. All three components are open source software that you can use for developing, testing, and deploying web applications–and they are free!

You can install each one independently, but the quickest and easiest way is to use an all-in-one solution. The one chosen for this tutorial is XAMPP. If you already have a working PHP/MySQL environment, or want to use a different all-in-one installer, such as WampServer (http://www.wampserver.com/en/), go straight to Defining a PHP site in Dreamweaver.
If you're a Mac user, see Setting up PHP for Mac OS X.
Before you start

XAMPP installs the Apache web server, which listens for requests on

You May Also Find These Documents Helpful

  • Good Essays

    This software is going to have a web server which will be connected to whenever any web service is needed. This server is also going to contain the database. Thus in needs for data also, system will communicate with this server. This communication is capable with the help of JDBC. The data will be synchronized and consistent data will be kept in the server.…

    • 612 Words
    • 3 Pages
    Good Essays
  • Good Essays

    MySQL is a free, open-source, multithreaded, and multi-user SQL database management system which has more than 10 million installations. The basic program runs as a server providing multi-user access to a number of databases. MySQL includes a broad subset of ANSI SQL 99, as well as extensions, cross-platform support, stored procedures, triggers,…

    • 664 Words
    • 4 Pages
    Good Essays
  • Good Essays

    nt1230

    • 905 Words
    • 6 Pages

    Because this is only a test deployment, you will be using a Windows 7 computer to function as the web server. In Exercise 5.1 you install Internet Information Services on your workstation and configure it to host two web sites.…

    • 905 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Dreamcatchers have quickly become one of the most chic’ decorating piece today. While they originally started as a spiritual prop in an effort to ward off and even ‘filter’ bad dreams, they’re beauty has been recognized as a great decorative piece for any home. They’re easy to make, and if you have enough time and a small budget, you can easily lose yourself in the meditative creation process that ensues. If you’re interested in learning how to make a dream catcher, keep reading to learn more.…

    • 888 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Notes and Terms

    • 2288 Words
    • 10 Pages

    3. What tool is used to create web page, what are the steps to create web pages?…

    • 2288 Words
    • 10 Pages
    Good Essays
  • Good Essays

    Because this is only a test deployment, you will be using a Windows 8 computer to function as the web server. In this exercise, you will install Internet Information Services on your workstation and then configure it to host two websites.…

    • 970 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Projects

    • 781 Words
    • 4 Pages

    Data can be shared securely by the use of an apache web server application. Also the use of SSH will help as well.…

    • 781 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    Although, this is a new software for me to use, I think that I will be accustomed to using it once I get more and more familiar with it. I think that it is a great idea to be able to drag and drop rather than typing in all the coding, which is what the textbooks have taught me to do so far. Dreamweaver is probably going to eliminate a lot of the manual coding that is needed when creating a website, so I believe that this may make a developer/programmer become lax if they don’t practice at times.…

    • 372 Words
    • 1 Page
    Satisfactory Essays
  • Good Essays

    IS4560

    • 486 Words
    • 2 Pages

    SQL injections can be used to enter the database with administrator rights, best way to avoid this using Java on the website.…

    • 486 Words
    • 2 Pages
    Good Essays
  • Good Essays

    Metadata

    • 264 Words
    • 2 Pages

    Siglin discusses Dreamweaver and how there was a previous tool named “Contribute” which was for an average user can make simple updates to a website, and the second tool which “lets tables created in word and saved out as HTML” talks about how the suite has allowed for improved database management and enhancement in how content can be updated on a website…

    • 264 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    In the world of Web Servers, there are four main choices of operating systems to choose from, just like in the rest of the computing world. The four options are: Windows, Linux/Unix and FreeBSD, Mac OS and Novell (webdevelopersnotes.com). The two that are…

    • 1169 Words
    • 5 Pages
    Powerful Essays
  • Good Essays

    3. Using phpmyadmin create a new database and name it appropriately. The name of this database is important…

    • 838 Words
    • 4 Pages
    Good Essays
  • Good Essays

    Dreams can be described as a series of thoughts, images, and sensations occurring in a person's mind during sleep. When it comes to dreams there are many different types such as ordinary dreams, lucid dreams,day dreams, false awakening dream and nightmares.…

    • 339 Words
    • 2 Pages
    Good Essays
  • Powerful Essays

    Learning dream analysis is teaching your awaken brain to think like your dreaming brain. Now, this can seem like a challenge at first. However, once you have grasped the principles of dream interpretation it will become, as they say, “as easy as falling off a log”. In other words, fairly easy! You just need to have the desire and the willingness to learn and you will become a dream expert in no time!…

    • 952 Words
    • 4 Pages
    Powerful Essays
  • Powerful Essays

    We recommend having a web server (for example, Apache or IIS) installed and running on your development computer.…

    • 13409 Words
    • 54 Pages
    Powerful Essays

Related Topics