Home Database Mysql Tutorial wamp出现You don’t have permission to access/on this server

wamp出现You don’t have permission to access/on this server

Jun 07, 2016 pm 03:43 PM
wamp Appear

找到 httpd.conf,用记事本打开 httpd.conf ,然后将 Directory/ OptionsFollowSymLinks AllowOverrideNone Orderdeny,allow Denyfromall /Directory 这里改成: Directory/ OptionsFollowSymLinks AllowOverrideNone Orderdeny,allow Allowfromall /Directo

  • 找到httpd.conf,用记事本打开httpd.conf,然后将

  1.     Options FollowSymLinks
  2.     AllowOverride None
  3.     Order deny,allow
  4.     Deny from all

这里改成:

  1.     Options FollowSymLinks
  2.     AllowOverride None
  3.     Order deny,allow
  4.     Allow from all

 还有一处将下面

  1. # onlineoffline tag - don't remove
  2. Order Deny,Allow
  3. Deny from all  
  4. Allow from 127.0.0.1

Deny from all  改为:Allow from all  ,然后重新启动所有服务。

现在打开localhost或127.0.0.1时发现可以访问了,但访问phpmyadmin时候,出现“You don't have permission to access /phpmyadmin/ on this server.”的提示。

  • 解决方法,打开如下文件:

C:\wamp\alias\phpmyadmin.conf    //这个就是你的wamp的安装目录下的内容,用记事本打开

修改成这样:

  1. "c:/wamp/apps/phpmyadmin3.5.1/">
  2.     Options Indexes FollowSymLinks MultiViews
  3.     AllowOverride all
  4.     Order Deny,Allow
  5.     Allow from all
  6.     Allow from 127.0.0.1

修改保存后,重启wamp ,搞定收工!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
1 months ago By 尊渡假赌尊渡假赌尊渡假赌
Two Point Museum: All Exhibits And Where To Find Them
1 months ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

Teach you to create a virtual host and run php projects (phpstudy + wamp) Teach you to create a virtual host and run php projects (phpstudy + wamp) Aug 07, 2022 pm 03:17 PM

This article involves two PHP integrated environments, both of which contain mysql + apache + php. The function of phpstudy is more powerful than wamp, and it is very simple and easy to use.

[Summary] Reasons and solutions why WAMP cannot parse PHP files [Summary] Reasons and solutions why WAMP cannot parse PHP files Mar 22, 2023 am 10:38 AM

​WAMP is a free and open source web server software package that allows users to build a web server environment on Windows operating systems. However, when users try to run PHP files in WAMP, they may encounter unresolved errors. In this article, we will explore the reasons and solutions for why WAMP cannot parse PHP files.

How to modify the php.ini file in wamp How to modify the php.ini file in wamp Mar 20, 2023 pm 03:33 PM

Wampserver is a software package that can install Apache, PHP and MySQL on Windows computers. Develop and test PHP websites on your local computer easily with Wampserver. During the development process, we may need to modify the PHP configuration file php.ini. This article will introduce how to modify the php.ini file in Wampserver.

Taobao Big Winner February 2: When did the earliest slimming tea appear in my country? Taobao Big Winner February 2: When did the earliest slimming tea appear in my country? Feb 23, 2024 pm 11:20 PM

Taobao Winner’s February 2 question: When did the earliest slimming tea appear in my country? When did the earliest slimming tea appear in my country? Then the editor will bring you today’s answer to the 2.2 Taobao winner’s daily guess. Friends who are interested can come and find out. Taobao Daily Guess Answers Taobao Big Winner February 2: When did the earliest slimming tea appear in my country? Question: When did the earliest slimming tea appear in my country? Answer: C. Song Dynasty Answer analysis: 1. Click here to find out For clues, you can find the answer to the question on the page as shown below; 2. "Jisheng Prescription" written by Yan Yonghe, a famous doctor in the Song Dynasty, recorded the earliest weight loss-Qipi Drink; 3. Take the big belly peel, tangerine peel, Ginger peel, poria peel, ground bone peel, licorice peel and green peel each in half, grind into powder and set aside

A brief analysis of the solution to the problem of garbled PHP files in WAMP environment A brief analysis of the solution to the problem of garbled PHP files in WAMP environment Mar 22, 2023 am 09:30 AM

In the process of using WAMP as a local server environment, the problem of garbled PHP files sometimes occurs. This kind of problem will not only affect our code writing, but also affect the normal operation of our website. In this article, we will introduce some methods to solve garbled PHP files in WAMP.

Install WAMP on CentOS and cannot click on the desktop after CentOS installation. Install WAMP on CentOS and cannot click on the desktop after CentOS installation. Feb 11, 2024 pm 04:51 PM

Introduction to the directory of this article: CentOS installs WAMP, installs Apache, installs MySQL, installs PHP, configures WAMP. After CentOS is installed, you cannot enter the desktop and cannot click to restart. Update the desktop environment or reinstall the driver. Reset the desktop configuration. Change the desktop environment. LINUX knowledge sharing. CentOS installs WAMP. CentOS is a Linux-based system. Operating system for server and desktop applications, WAMP is a development environment for running web applications on Windows operating system. In this article, we will introduce how to install WAMP on CentOS. To install Apache we need to install Apache as a web server and execute the following command in the terminal

Checks whether substring S1 occurs after any occurrence of substring S2 in the given sentence Checks whether substring S1 occurs after any occurrence of substring S2 in the given sentence Aug 26, 2023 am 11:13 AM

In this problem, we need to check if substring S1 occurs after any occurrence of substring S2 in a given string S. We can solve this problem by comparing the starting index of S1 and S2 in the string S. Problem Statement - We are given three substrings named S, S1 and S2. String S always contains S1 as a substring. We need to check whether substring S1 appears after substring S2 in a given string S. Example input – S = “abxtutorialspointwelcomepoint”, S1 = “Welcome”, S2 = “point”; output – is the explanation – in the string S, the “point” substring appears 2 times. one before "welcome",

How does wampsever deploy PHP projects locally? How does wampsever deploy PHP projects locally? Mar 22, 2023 am 10:38 AM

Wampsever is a PHP development environment that helps programmers deploy and test PHP projects locally. This article will introduce how to use Wampsever to deploy PHP projects locally.

See all articles