Must-see: If you have installed the IIS server, go to:
Internet Information Services (IIS) Manager, Web site, start, Administrative tools, programs
Stop all sites. Doing so will cause Apache to fail to start. If you have already configured the PHP environment, to avoid repeated errors, please uninstall all relevant software: Apache, PHP, MySQL, PhpMyadmin, because Appserv has brought these things.
Using Appserv to configure the PHP environment is as simple as everyone's usual installation, so don't be too nervous. Well, 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, it is recommended not to install on the C drive
Choose the installation method, it is recommended to use the default method, direct click Next
There's no need to change, just click Next.
MySQL username and password, charset, set it Yourself
Start installation
All tick (start Apache and MySQL) dot Close is over
Finished? Finished. Finished? Finished! It's that simple, what do you want? Apache, PHP, MySQL, phpMyAdmin all have. Go to your installation directory to see it, no accident, there should be four folders:
Apache2.2--apache Server Directory
php--php Directory
Mysql--mysql Directory
www--website directory (used to install your PHP program, phpMyAdmin is also inside, because it is also PHP program)
Well, the PHP environment is so configured, right? Is it easier to go with the manual than yourself? Oh. Beginners with Appserv is very convenient, but the entry-level people suggest or use manual configuration it. One is to be able to understand some basic knowledge, and second, integration software, such as Appserv, is still a lot of shortcomings, without the sound of manual configuration. Our aim now is only to develop, not to serve, so it is enough to use Appserv.
OK, open the browser, enter http://localhost or http://127.0.0.1 if you can open the following page, it means that you installed successfully, 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 management Portal)
PHP Information Version 5.1.6 (PHP related configuration information)
Below is the official website of Apache, PHP, MySQL and phpMyAdmin. And then down is some appserv related information, these are not to reason, only the first two connections is more important.
Finally finished two kinds of PHP configuration method, a long sigh of relief. There is also a way to configure IIS + PHP, which we'll cover in the next tutorial. So be sure to pay attention to www.hetty.cn oh. Then let's go here, hehe.
--Hai (Hetty)
Click here to download the World document for this tutorial
http://www.bkjia.com/PHPjc/317424.html www.bkjia.com true http://www.bkjia.com/PHPjc/317424.html techarticle must-see: If you have installed the IIS server, go to: "Start-programs-Administrative Tools-internet Information Services (IIS) Manager-Web site" stops all sites. Otherwise it will cause the AP ...