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