Method of Custom Configuration after wamp Installation

  • 2021-07-16 02:08:09
  • OfStack

WampServer is a widely used PHP integrated development environment at present. This paper will talk about the method of custom configuration after Wamp installation. For your reference. The details are as follows:

After wamp 2.5 was installed, you manually reset the default root directory of apache yourself. However, it is found that this machine can be accessed, but others cannot.

The prompt message is: Forbidden you dont hava permission to access * on the server

It means you don't have access!

This is a common problem, so you should only need to modify the permissions of the directory.

After searching many methods described on the Internet, I found that all the lines with 'deny' were replaced with 'Allow from all', but I couldn't test them myself.

Under all kinds of entanglement and helplessness, try to study phpmyadmin given by others, which is the best example.

In the phpmyadmin. conf file under/wamp/alias, the following comments are written in the first few lines of the document:


# to give access to phpmyadmin from outside 
# replace the lines 
# 
#Require local 
# 
# by 
# 
# Require all granted 
#

At this point, the answer is obvious.

Find the apache 2.4. 9\ conf\ httpd. conf file and put the < Directory > Of the last row of the node:

Replace 'Require local' with 'Require all granted'

At this point, the problem is solved!

From this problem-solving experience, it can be seen that the best solution to the problem encountered when you are not familiar with one thing comes from Demo!


Related articles: