Required: If you have already installed the IIS server, please go:
"Start-> Program-> Administrative Tools-> Internet Information Service (IIS) Manager-> Website"
Stop all websites. Otherwise, Apache cannot be started. If you have already configured the PHP environment and want to avoid repeated errors, Uninstall all related software: Apache, PHP, MySQL, and phpMyadmin, because Appserv already comes with these tools.
Using Appserv to configure the PHP environment is as simple as installing games, so do not be too nervous. Well, let's talk about it in a few minutes. Start to use Appserv to configure the PHP environment. Double-click to run the downloaded software: Appserv-win32-2.5.7.exe
Welcome to the page. Ignore it and click Next.
Select the installation directory as you like. We recommend that you do not install it on disk C.
Select the installation method. We recommend that you use the default method and click Next.
You don't need to change it here. click Next.
Set the username, password, and Character Set of Mysql.
Start Installation
Click Close to start Apache and MySQL.
Finished? Finished. Finished? Finished! It's that simple. What else do you want? Apache, PHP, MySQL, and phpMyadmin all have them. Go to your installation directory and check out the following four folders:
Apache2.2 -- Apache Server Directory
PHP -- PHP Directory
MySQL-MySQL directory
Www-website directory (for installing your PHP program, phpMyadmin is also in it, because it is also a PHP Program)
Okay. The PHP environment is configured like this. How are you doing? Is it easier to manually configure the instance? Haha. It is very convenient for beginners to use Appserv, but it is recommended for beginners to use manual configuration. First, you can understand some basic knowledge. Second, integrated software such as Appserv still has many shortcomings, without sound manual configuration. Our current goal is development rather than service. Therefore, Appserv is enough.
OK. Open the browser and enter http: // localhost or http: // 127.0.0.1. If you can open the following webpage, it indicates that the installation is successful. Good luck!
By the way, what is the use of the first two connections on this page:
PhpMyAdmin Database Manager Version 2.9.0.2 (phpMyadmin Management Portal)
PHP Information Version 5.1.6 (related configuration Information of PHP)
Go down to the official website of Apache, PHP, MySQL, and phpMyAdmin. The next step is some Appserv-related information, which does not need to be handled. Only the first two connections are important.
I finally finished the two PHP configuration methods and took a sigh of relief. There is also a configuration method for IIS + PHP, which will be discussed in the next tutorial. So pay attention to www.hetty.cn. That's it, huh, huh.
-- Hetty)
Click to download the world document for this tutorial.