APACHE+PHP+MYSQL environment construction

WBOY
Release: 2016-07-29 09:15:53
Original
1291 people have browsed it

Preparation:

1. First create the XAMP folder under the D drive, and then create the following 3 folders in this folder to store Apache, MYSQL, and PHP respectively

2. Prepare the source files:

3. Apache installation

First create the directory D:XAMPApache on the D drive, and then double-click httpd-2.2.22-win32-x86-no_ssl. If the msi has the following picture, fill in or select it as shown in the picture. If there is no step, you can default to it:

Click NEXT and enter localhost in the browser after completion The following picture appears to indicate that the Apache server has been installed successfully


IV. Modify the Apache configuration file D: Server


5. Copy the php-5.3.13-Win32-VC9-x86.zip file to the PHP folder on drive D and unzip it to complete the PHP installation

6. Configure PHP, modify the php.ini file and remove it as shown below; you can add this function


After the modification is completed, create the index.php file in XAMPhtdoc and enter the php code in it< ?phpinfo();?>Save

Enter localhost/index.php in the browser and the following interface will appear:


7. Installation of MySQL database, double-click mysql-5.5 .27-win32.msi, modify and install as shown below


After the installation is completed, the following interface appears, indicating that the installation is successful.


Copyright Statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

The above has introduced the APACHE+PHP+MYSQL environment construction, including the relevant aspects. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template