PHP environment to build wampserver, Apache, MySQL and PHP

Source: Internet
Author: User

WAMPSERVER2.5-APACHE-2.4.9-MYSQL-5.6.17-PHP5.5.12-32B Build PHP Environment

Under Win, download Wampserver2.5-apache-2.4.9-mysql-5.6.17-php5.5.12-32b.exe, install by default.

Then open the httpd.conf configuration file for Apache under the installation directory D:\wamp\bin\apache\apache2.4.9\conf\httpd.conf

Modify the following:

1Listen 0.0.0.0:80882Listen [:: 0]:80883 4ServerName localhost:80885 6DocumentRoot "D:/kkkoffice/wwwroot"7 8<directory/>9     #allowoverride NoneTen     #Require all denied One Options followsymlinks A allowoverride None -Order Deny, Allow -     #Deny from all the  allow from all -</Directory> -  -<directory "d:/wamp/www/" > + Options followsymlinks - allowoverride None +Order Deny, Allow A  allow from all at</Directory>
View Code

Description

Listen Listening Port

ServerName server name (with port number)

DocumentRoot php file path (Note: Do not bring "/" on the last side)

Possible issues: access to http://localhost:8088/phpinfo.php

If you do not have the permission to access/test/file.php in this server

Comment Deny from all----deny any access to the

Add allow from all

Every time you finish modifying Apache, httpd.conf will remember to restart Apache.

Restart Refresh page Normal access is as follows

  

Well, the environment has been built successfully!

PHP environment to build wampserver, Apache, MySQL and PHP

Related Article

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.