Home > Article > Backend Development > How to configure and integrate PHP and MySQL on Windows (1)_PHP Tutorial
PHP and MySQL are a powerful combination when it comes to serving dynamic content to users. Over the years, both products have grown beyond their initial use cases and are now used by some of the world's busiest websites. Although they were originally open source software and could only run on UNIX/Linux, after a considerable period of development, they have been able to run on the Windows platform.
In this article, I will explain step by step how to install and configure these products in a Windows environment. The information provided in this article may be too simplistic for some of you, but it is designed to accomplish the goal set out in the title of this article, providing step-by-step guidance.
This special software combination is generally called WIMP (Windows/IIS/MySQL/PHP), following the example of LAMP in the field of Linux (Linux/Apache/MySQL/PHP).
My lab system runs 64-bit Windows Server 2003 Enterprise Edition.
Step 1: Install the Application Server role on a Windows Server 2003 R2 system
To illustrate this example, I will use IIS as the network server. You can also choose a combination of PHP, MySQL, and Apache that doesn't require IIS, but I won't use them in this example. To install the Application Server role on your system, click on the "Start Menu" and select "Manage Servers". In the main management server window, click the "Add or remove a role" option. (Figure 1) Install the Application Server role on the server so that it can host the website
Windows will search for existing roles on the server and provide a complete list of roles to to install. (Figure 2)
Application Server role includes IIS and ASP.net
During the installation process of the server role, the system may ask you to insert the Windows Server CD. The required files are on disc 1.
Once the installation is complete, the management server window will be updated to reflect the new roles added.
Step 2: Download PHP and MySQL
At this time, the server is ready to support web pages. But since PHP or MySQL has not been installed, the web page is still static. Before installing PHP and MySQL, you must download their Windows versions from their respective websites.
http://www.bkjia.com/PHPjc/630967.html
www.bkjia.com