Home  >  Article  >  Backend Development  >  How to solve php manager error problem

How to solve php manager error problem

藏色散人
藏色散人Original
2021-09-02 10:01:562603browse

Solution to phpmanager error: 1. Turn on the detailed error options of IIS itself; 2. Turn on the Development Machine option of PHP Manager; 3. Place the PHP running environment control in a non-Chinese path.

How to solve php manager error problem

The operating environment of this article: Windows7 system, PHP5.2.17 version, Dell G3 computer

How to solve php manager error question?

When IIS uses Phpmanager, many pages always prompt 500 errors. I finally found a solution!

Let’s talk about the solution first:

1. Turn on the detailed error options of IIS itself.

2. Turn on the Development Machine option of PHP Manager

3. Perhaps the most critical point, the PHP running environment control must Place it in a non-Chinese path.

The following is the detailed process of handling the problem

1. Start trying: Open IIS itself error

Still prompts 500 error, I checked a lot of information on Baidu but there is no useful solution to solve this problem

I haven’t used IIS for php debugging for a month It works. I am going to try it again this morning. I opened a few simple PHP pages and can see the content normally. However,

with a little more code still prompts a 500 error.

——Annoying error message without error details——

This page is not functioning properly

localhost This request cannot be processed at this time.

HTTP ERROR 500

Breakpoint on a complex page, it is found that the referenced file in the PHP page does not exist, it is definitely an error.

2. Thinking that IIS has been configured to display detailed errors, the problem may be in PHPManager, and I found Php Configure Error Reporting

I discovered that there was a development machine and a production machine. I selected a development machine and refreshed the page. The detailed error prompt that I had not seen for a long time came out. :)

#3. Perhaps the most critical point is that the PHP running environment control must be placed in a non-Chinese path.

is placed in the Chinese path, and some pages appear blank.

Open the error log, the Chinese path is garbled, Unable to load dynamic library ''

Then change the path to English and pass.

It’s done, it’s normal.

Recommended study: "PHP Video Tutorial"

The above is the detailed content of How to solve php manager error 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