How To Set Up PHP for Windows Part 1

0

In this article I will be explaining you the process for setting up an environment on a Windows or a Macintosh computer for creating PHP web applications using Adobe DreamWeaver and a MySQL database server .

A PHP developer long beach requires a web server, MySQL database and PHP to set up a PHP development long beach environment for Dreamweaver. The web server may be Apache or IIS. Though you can install them individually, it is a lot simpler to use an integrated solution. It may be XAMPP for Windows or MAMP for Mac OS X.

PHP may be used with many of the database systems. Nevertheless, Dreamweaver’s PHP server behaviors get supported only by MySQL.

How To Set Up PHP for Windows

PHP pages have to be processed via a web server. Hence, in order to do PHP development long leach in Dreamweaver you should be able to use PHP enabled web server as well as the MySQL database. phpMyAdmin, a graphical interface to MySQL would also prove to be useful. All the three components are open source software which can be used for free for developing, testing, and deploying web applications.

You can install them one by one. However, to makes things quicker and easier, it is best to go for packaged solution. For this tutorial, I have selected XAMPP. If you are already working on PHP/MySQL environment or want to go for a varying all-in-one installer like WampServer, it is best to begin with defining a PHP site in Dreamweaver.

If you’re using Mac, then go for Setting up PHP for Mac OS X.

Prior To Starting

Apache web server is installed by XAMPP.

This web server listens for requests on port 80. This is the default port generally used by many web servers such as Microsoft Internet Information Services (IIS). During any specific time only one web server can listen on port 80.

If IIS is already installed on your computer to enable development with ASP or ASP.NET, you should first halt the IIS web server in action before you install XAMPP. Otherwise, you can install PHP in IIS with the use of Microsoft Web Platform Installer. If you install PHP in IIS then you also need to install MySQL and phpMyAdmin individually.

Installing XAMPP

The process of installing and configuring XAMPP is generally speedier and hassle-free. However, occasionally there may be some problems arising in the process. Even if you get any problems, you can refer the XAMPP forum for easy solutions.

First login to Windows in an administrator account.

Visit the Apache Friends website to download basic package of XAMPP for Windows

Selecting all applications on your computer, double-click the EXE file you downloaded. Choose the location for downloading the file. On expansion, the files occupy approximately 275 mb.

After all the files have been extracted, the installer opens a Windows Command Prompt window, where you need to select the installation options. You can type Y or N, based on your preference, and press Enter.

View the original article here

Send your news stories to newsghana101@gmail.com Follow News Ghana on Google News

LEAVE A REPLY

Please enter your comment!
Please enter your name here