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.