wamp出现You don’t have permission to access/on this server
找到 httpd.conf,用记事本打开 httpd.conf ,然后将 Directory/ OptionsFollowSymLinks AllowOverrideNone Orderdeny,allow Denyfromall /Directory 这里改成: Directory/ OptionsFollowSymLinks AllowOverrideNone Orderdeny,allow Allowfromall /Directo
- 找到httpd.conf,用记事本打开httpd.conf,然后将
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Deny from all
这里改成:
- Options FollowSymLinks
- AllowOverride None
- Order deny,allow
- Allow from all
还有一处将下面
- # onlineoffline tag - don't remove
- Order Deny,Allow
- Deny from all
- 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的安装目录下的内容,用记事本打开
修改成这样:
"c:/wamp/apps/phpmyadmin3.5.1/"> - Options Indexes FollowSymLinks MultiViews
- AllowOverride all
- Order Deny,Allow
- Allow from all
- Allow from 127.0.0.1
修改保存后,重启wamp ,搞定收工!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics

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](https://img.php.cn/upload/article/202303/22/2023032211181758796.jpg?x-oss-process=image/resize,m_fill,h_207,w_330)
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.

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 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

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.

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

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",

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.
