How to configure the PHP environment-Appserv

Source: Internet
Author: User

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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.