PHP has encountered a Stack overflow problem solution, stackoverflow_PHP tutorial

WBOY
Release: 2016-07-13 10:15:27
Original
1173 people have browsed it

PHP has encountered a Stack overflow problem solution, stackoverflow

After transferring a disucz forum last night, I found that there was an additional PHP has encountered a Stack overflow error message on the opened page, which was translated as "PHP has encountered a Stack overflow". I felt strange. No one visited the new site, so how could it overflow. Well, go to the discuz official forum to find a solution.

The first solution I found was to update the background cache, but it didn’t work. Next check the database configuration file and there is no error. Checking php permissions also has no errors.

Some people on the discuz official website said that the PHP version is too low. I personally feel disgusted with such people. This statement is quite nonsense. No need to verify.


Comparing the old and new servers, I found a problem. The paths of the two were different. I immediately checked the permissions of the upper-level directory folder. Sure enough, there was a problem with the permissions. The file path is D:/www/discuz. Check that the www and discuz folder permissions on the old server have "anonymous guest permissions". When I went to the new server, I saw that the www folder did not have "anonymous guest permissions", but the discuz folder did. It shows that it is caused by insufficient permissions on the upper-level directory. Give permission again. ok perfectly solves the problem that PHP has encountered a Stack overflow.

I said so much above, but it’s actually just one sentence:

It is all because of permission issues under the windows server, specifically the upper-level directory permissions issue.

For example:

The original website directory is d:wwwjb51

The quick and safe solution is to create a new directory webroot under the jb51 directory, and the permissions of this directory are the same as those of jb51.

The current website directory is: d:wwwjb51webroot.

Many PHP systems now have errors due to this problem, such as discuz, phpmyadmin, etc.

The PHP has encountered a Stack overflow error appears on the website access page developed by ecshop program

The final page output by ecshop is not a library file or template file, but a PHP file after processing. There may be a problem during the parsing process. You are asking in general terms, unless you have encountered the same problem. Otherwise it will be difficult to help you.

PHP has encountered a Stack overflow that appeared after changing the space

Error number: 1142
Solution:
1. Please check whether your MySQL account has the corresponding permissions.
2. Check whether the account used to connect to the database in the config configuration file under the application is correct.
3. Check whether the database is full. This situation will also occur if the database is full and there is no space.

PHP has encountered a Stack overflow
Insufficient space or server php version problem

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/904913.htmlTechArticlePHP has encountered a Stack overflow problem solution, stackoverflow After transferring a disucz forum last night, I found that it was opened There is one more PHP on the page has encountered a Stack...
Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template