Home Backend Development PHP Tutorial Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial

Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial

Jul 15, 2016 pm 01:24 PM
wind one Obtain build operating system Fault yes Permissions environment use solve

1. Fault phenomenon

The operating system used by the author to build the environment is windows XP, IIS is the IIS 5 that comes with the system, and the PHP version is 5.2. According to the steps on the Internet, I installed the PHP program and configured the corresponding mapping parameters in IIS to establish a PHP environment, and generated a file named index.php for testing. In actual use, it was found that when accessing http://127.0.0.1/index.php and http://localhost/index.php through the browser on the server, error prompts appeared. The specific page showed "No permission to view the web page, based on The credentials provided, you do not have permission to view this directory or web page, HTTP error 401.3 - Access is denied by the resource ACL." (As shown in Figure 1)

Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial
Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial
图1
Figure 1

In order to further troubleshoot the problem, the author clicked "Browse" on the default website in IIS. After checking, the feedback message received is the same as above, which is also "HTTP error 401.3 - Access denied by resource ACL". (As shown in Figure 2)

Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial
图2
Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial
Figure 2

However, other page files on the same site can be browsed and viewed normally as long as they are not created in PHP language. , including HTML static pages and ASP dynamic web pages.

2. Modify the verification method to solve the problem

Since the information fed back by IIS is "HTTP error 401.3 - Access denied by resource ACL", the author also targeted the access authority to perform troubleshooting work.

Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial
图3
Step 1: Right-click on the default website in IIS and select "Properties" to view the relevant property information of the site. (As shown in Figure 3)

Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial
Figure 3

Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial

图4


Step 2: We find the "Directory Security" label in the default website properties that are opened , then click the "Edit" button next to "Anonymous access and authentication controls." (As shown in Figure 4)
Start with permissions to solve IIS+PHP environment failures (1)_PHP tutorial

Figure 4

1 http://www.bkjia.com/PHPjc/446817.htmlwww.bkjia.comtrue
http: //www.bkjia.com/PHPjc/446817.htmlTechArticle1. Fault phenomenon The operating system used by the author to build the environment is windows XP, and IIS is the IIS 5 that comes with the system. PHP version is 5.2. According to the steps on the Internet, I installed the PHP program and configured the IIS...
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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

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)

What are the methods of tuning performance of Zookeeper on CentOS What are the methods of tuning performance of Zookeeper on CentOS Apr 14, 2025 pm 03:18 PM

Zookeeper performance tuning on CentOS can start from multiple aspects, including hardware configuration, operating system optimization, configuration parameter adjustment, monitoring and maintenance, etc. Here are some specific tuning methods: SSD is recommended for hardware configuration: Since Zookeeper's data is written to disk, it is highly recommended to use SSD to improve I/O performance. Enough memory: Allocate enough memory resources to Zookeeper to avoid frequent disk read and write. Multi-core CPU: Use multi-core CPU to ensure that Zookeeper can process it in parallel.

How Debian improves Hadoop data processing speed How Debian improves Hadoop data processing speed Apr 13, 2025 am 11:54 AM

This article discusses how to improve Hadoop data processing efficiency on Debian systems. Optimization strategies cover hardware upgrades, operating system parameter adjustments, Hadoop configuration modifications, and the use of efficient algorithms and tools. 1. Hardware resource strengthening ensures that all nodes have consistent hardware configurations, especially paying attention to CPU, memory and network equipment performance. Choosing high-performance hardware components is essential to improve overall processing speed. 2. Operating system tunes file descriptors and network connections: Modify the /etc/security/limits.conf file to increase the upper limit of file descriptors and network connections allowed to be opened at the same time by the system. JVM parameter adjustment: Adjust in hadoop-env.sh file

Centos install mysql Centos install mysql Apr 14, 2025 pm 08:09 PM

Installing MySQL on CentOS involves the following steps: Adding the appropriate MySQL yum source. Execute the yum install mysql-server command to install the MySQL server. Use the mysql_secure_installation command to make security settings, such as setting the root user password. Customize the MySQL configuration file as needed. Tune MySQL parameters and optimize databases for performance.

Debian Hadoop data transmission optimization method Debian Hadoop data transmission optimization method Apr 12, 2025 pm 08:24 PM

The key to improving the efficiency of data transmission in DebianHadoop cluster lies in the comprehensive application of multiple strategies. This article will elaborate on optimization methods to help you significantly improve cluster performance. 1. The data localization strategy maximizes the allocation of computing tasks to the data storage nodes, effectively reducing data transmission between nodes. Hadoop's data localization mechanism will automatically move data blocks to the node where the computing task is located, thereby avoiding performance bottlenecks caused by network transmission. 2. Data compression technology adopts data compression technology during data transmission to reduce the amount of data transmitted on the network and thereby improve transmission efficiency. Hadoop supports a variety of compression algorithms, such as Snappy, Gzip, LZO, etc. You can choose the optimal algorithm according to the actual situation. three,

vscode cannot install extension vscode cannot install extension Apr 15, 2025 pm 07:18 PM

The reasons for the installation of VS Code extensions may be: network instability, insufficient permissions, system compatibility issues, VS Code version is too old, antivirus software or firewall interference. By checking network connections, permissions, log files, updating VS Code, disabling security software, and restarting VS Code or computers, you can gradually troubleshoot and resolve issues.

What language is apache written in? What language is apache written in? Apr 13, 2025 pm 12:42 PM

Apache is written in C. The language provides speed, stability, portability, and direct hardware access, making it ideal for web server development.

How to run programs in terminal vscode How to run programs in terminal vscode Apr 15, 2025 pm 06:42 PM

In VS Code, you can run the program in the terminal through the following steps: Prepare the code and open the integrated terminal to ensure that the code directory is consistent with the terminal working directory. Select the run command according to the programming language (such as Python's python your_file_name.py) to check whether it runs successfully and resolve errors. Use the debugger to improve debugging efficiency.

Is the vscode extension malicious? Is the vscode extension malicious? Apr 15, 2025 pm 07:57 PM

VS Code extensions pose malicious risks, such as hiding malicious code, exploiting vulnerabilities, and masturbating as legitimate extensions. Methods to identify malicious extensions include: checking publishers, reading comments, checking code, and installing with caution. Security measures also include: security awareness, good habits, regular updates and antivirus software.

See all articles