Home  >  Article  >  Backend Development  >  How to solve php error code 0x80070002 problem

How to solve php error code 0x80070002 problem

藏色散人
藏色散人Original
2022-01-04 10:41:403150browse

Solution to php error code 0x80070002: 1. Check whether the URL rewrite is installed; 2. Open the web.config file in the root directory; 3. Check whether the format is written correctly and modify it.

How to solve php error code 0x80070002 problem

The operating environment of this article: Windows 7 system, PHP5 version, Dell G3 computer.

How to solve the problem of php error code 0x80070002?

IIS7.5 configuration supports PHP script error code 0x80070002

1. IIS configuration supports PHP service. The homepage can be opened, but other pages cannot be opened. The error is reported as follows

##First analyze and explain: This It is a standard 404 page error. This error occurs because the physical path cannot be found. The general PHP framework or CMS will use pseudo-static processing of the index.php entry file. In other words, if you visit http The page ://www.tp.com:80/stores/barneys-warehouse will report a 404 error, but as long as you add index.php in the browser, the error will not be reported. Normal access: http ://www.tp.com:80/index.php/stores/barneys-warehouse No error

Solution Method:

1. URL rewrite to check whether it is installed. If not, please install it

# #2. The web.config file in your root directory does not take effect. Check whether the format is written correctly
##

2、把ASP.NET v2.0 换成 ASP.NET v4.0  托管管道模式修改为‘经典’

3. I hope your problem can be solved and I wish you good luck.

Recommended study: "

PHP Video Tutorial"

The above is the detailed content of How to solve php error code 0x80070002 problem. For more information, please follow other related articles on the PHP Chinese website!

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