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

    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
  • Powerful Essays

    Dreamweaver is web development application created and sold by Adobe systems, Websites are created by writing code and including flash elements such as video’s and animations. One reason to use Dreamweaver is because it makes it easy for you to write clean code although writing a webpage in code is also not necessary as you can create a website without it, it is also ideal to use Dreamweaver because of its fluid grid layout in the included CSS designer tool, the grid layout makes it easier to create a more dynamic and visually interesting webpage. A let down for Dreamweaver is that although it is seen as a very good web design program it does come at a very expensive price, Dreamweaver is also considered useless and a waste of time if you are not using code as…

    • 2601 Words
    • 11 Pages
    Powerful 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

    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

    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
  • Satisfactory Essays

    The second lesson of Dreamweaver went over two different ways to create a new site, look at the site settings and how to create servers to connect to a remote location.…

    • 372 Words
    • 1 Page
    Satisfactory 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
  • 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
  • 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
  • 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
  • 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
  • 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