How to successfully configure appserv in win7

Source: Internet
Author: User

 

To use PHP + Apache to set up a personal blog server, you need to configure the PHP environment on the machine in the Lab (with the win7 flagship version system installed. You can see a quick Configuration tool: appserv. appserv said that Apache, PHP, and MySQL environments can be installed and configured in one minute, and phpMyAdmin is included to facilitate database management, I think it is so convenient and practical, so I gave up the idea of separate configuration. I would like to share it with you because of some precautions during the installation process.
General installation steps:
Step 1: Download The appserv Windows installation package. I downloaded the appserv-win32-2.5.9 installation package.

Step 2: Click the appserv installation program and follow the prompts to proceed step by step.

Apache configuration in appserv: It mainly configures the server name, email, and HTTP service port in Apache. The server name is generally set to localhost. If port 80 already has other services, You need to modify the HTTP service port, for example, 8080

Configure MySQL service username and password in appserv: the default management account of MySQL Service database is root, the default character set is UTF-8, you can modify the relevant character set encoding as needed, General UTF-8 is more common. After the next step, start to automatically install appserv. After you click Finish, appserv will automatically start Apache and MySQL services. If you install some anti-virus software monitoring registries, a dialog box will pop up asking if you want to start them at startup, we recommend that you enable appserv automatically when starting the instance. I did not choose to enable appserv automatically during the test. As a result, appserv often fails to run. After each manual start, Apache or MySQL stops the service, you need to start it again. Enter http: // localhost in the browser to view Apache, indicating that appserv has been installed successfully.

However, in win7 flagship edition, Apache cannot be started successfully after direct installation. You also need to configure the default IIS to run Apache correctly (the two are of the same type of software, the same browser interface must conflict)

First, go to the system, administrative tools, and select Internet Information Service (IIS) Manager. The IIS configuration dialog box is displayed, and click stop on the right bar. After a while, IIS stops running. Don't worry, it's not good yet. If you enter http: // localhost in the browser, the page cannot be accessed. It means there is no backend server running and we can re-open the Start Menu, after the Apache install service in the add-Remove Windows service sub-menu under appserv is installed successfully, enter http: // localhost in the browser to display the appserv information page. This article references (full PHP project development practices and network articles PHP environment configuration: Windows appserv configuration and installation 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.