When using phpstudy to access files in the WWW directory, the browser prompts a Forbidden error and no access permission. After searching for information on drinking too much on the Internet and trying it myself, I summarized two methods.
##Method 1:
Open phpStudy, click the button "Other options menu" =>Find phpStudy configuration= >Click "Allow Directory Listing". Finally restart phpStudy.
refresh, and you will have permission
Method 2:
Also, if you want to access a certain file, you can configure the site domain name in phpStudyOpen phpStudy =>Click MySQL Manager=>Click site domain name management (just find site domain name management)
Configure the website domain name and website directory, the second domain name and website port do not need to be filled in. After configuring, click "Add" => Then click "Save settings and generate configuration file"
Press window r and enter cmd
ipconfig
Find the local link IPv6 address
Open phpStudy=>Click " "Other options menu" => Click "Open host"
192.168.3.224 murenziwei.com(note,
There cannot be a # sign in front)
Restart phpStudy, open the browser, and enter your configuration The domain name, ours is murenziwei.com, and this domain name is assigned to the folder I want to access.
The above is the detailed content of phpstudy access file error 403/Forbidden solution. For more information, please follow other related articles on the PHP Chinese website!

Article discusses configuring phpStudy for CORS, detailing steps for Apache and PHP settings, and troubleshooting methods.

The article details using phpStudy for PHP cookie testing, covering setup, cookie verification, and common issues. It emphasizes practical steps and troubleshooting for effective testing.[159 characters]

Article discusses using phpStudy for PHP file uploads, addressing setup, common issues, configuration for large files, and security measures.

Article discusses setting up custom session handlers in phpStudy, including creation, registration, and configuration for performance improvement and troubleshooting.

The article explains how to use phpStudy to test different payment gateways by setting up the environment, integrating APIs, and simulating transactions. Main issue: configuring phpStudy effectively for payment gateway testing.

The article discusses configuring phpStudy for secure HTTP authentication, detailing steps like enabling HTTPS, setting up .htaccess and .htpasswd files, and best practices for security.Main issue: Ensuring secure HTTP authentication in phpStudy thro

phpStudy enables testing various database connections. Key steps include installing servers, enabling PHP extensions, and configuring scripts. Troubleshooting focuses on common errors like connection failures and extension issues.Character count: 159

The article explains using phpStudy for testing PHP frameworks and libraries, focusing on setup, configuration, and troubleshooting. Key issues include version management and resolving common errors.


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

Atom editor mac version download
The most popular open source editor

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

EditPlus Chinese cracked version
Small size, syntax highlighting, does not support code prompt function

Dreamweaver Mac version
Visual web development tools

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