Must SEE: If you have installed the IIS server, please go to:
"Start-> program-> Administrative Tools-> Internet Information Services (IIS) Manager-> Web site"
Stop all Web sites. Otherwise, Apache will not start. If you have configured the PHP environment, to avoid repeated errors, please uninstall all the relevant software: Apache, PHP, MySQL, phpMyAdmin, because Appserv has brought these things.
Using Appserv to configure the PHP environment is as simple as the usual installation of the game, so don't be too nervous. OK, let's talk less and start using Appserv to configure the PHP environment. Double-click to run the downloaded software: Appserv-win32-2.5.7.exe
Welcome interface, ignore it, just click Next
Choose the installation directory, as you like, suggest not to install in C disk
Select the installation method, recommended by default, direct point next
There's no need to change, just click Next.
MySQL username and password, character sets, set it yourself
Start installation
All hooks (start Apache and MySQL) point close is over.
Finished? Finished. Finished? Finished! It's so simple, what do you want? Apache, PHP, MySQL, phpMyAdmin all have. Go to your installation directory. Look, there should be four folders, if not unexpected:
Apache2.2--apache Server Directory
php--php Directory
Mysql--mysql Directory
www--Site Directory (used to install your PHP program, phpMyAdmin is also inside, because it is also a PHP program)
Okay, so the PHP environment is configured, now, right? Is it easier to match yourself? Oh. Beginners use Appserv to match very convenient, but the entry-level people suggest that the manual configuration bar. First, you can understand some basic knowledge; second, integration software, such as Appserv, is still a lot of deficiencies, there is no manual configuration of the sound. Our purpose now is to develop, not to serve, so it is enough to use Appserv.
OK, open the browser, input http://localhost or http://127.0.0.1 if you can open the following Web page, it means that you installed successfully, I wish you good luck Oh!
By the way, what's the use of the first two connections on this page:
phpMyAdmin Database Manager Version 2.9.0.2 (phpmyadmin admin portal)
PHP Information Version 5.1.6 (PHP related configuration information)
Down there is the official website connection for Apache, PHP, MySQL, and phpMyAdmin. And then down is some appserv information, these are not to be, only the first two connections more important.
Finally finished speaking two kinds of PHP configuration method, long sigh of relief. There is also an IIS + PHP configuration method that we'll cover in the next tutorial. So be sure to pay attention to www.hetty.cn oh. Then come here, hehe.
Click here to download the World document for this tutorial