PHPhasencounteredaStackoverflow solution, stackoverflow_PHP tutorial

Source: Internet
Author: User
PHPhasencounteredaStackoverflow solution: stackoverflow. Solution to the PHPhasencounteredaStackoverflow problem: after stackoverflow moved a disucz forum last night, it was found that there was one more PHPhasencounteredaStack PHP has encountered a Stack overflow problem on the opened page.

After transferring a disucz forum last night, I found that one more PHP has encountered a Stack overflow was returned on the opened page, which was translated as "PHP Stack overflow ". I felt strange. there was no access to the new station. how could it overflow. Go to the discuz official forum to find a solution.

The first solution found is to update the background cache. The result is not correct. Next, check the database configuration file. there is no error. There is no error in checking php permissions.

Some people on the discuz official website say that the php version is too low, and I am quite disgusted with such people. No need to verify.


Compare the old and new servers and find a problem. The two paths are different. check the permissions of the parent directory folder immediately. The file path is D:/www/discuz. check that the www and discuz folders on the old server have the "anonymous guest permission ". On the new server, the www folder does not have the "anonymous guest permission", while the discuz folder does. This indicates that the permission of the directory at the upper level is insufficient. Give the permission again. OK perfectly solves the overflow problem of PHP has encountered a Stack.

As mentioned above, it is actually a sentence:

On windows Server, permissions are related to the permission of the directory at the upper level.

For example:

The original website directory is d: \ www \ jb51

The quick and secure solution is to create a webroot directory under the jb51 directory, which has the same permissions as jb51.

The website directory is d: \ www \ jb51 \ webroot.

Many php systems have errors due to this problem, such as discuz and phpmyadmin.


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

The final output page of ecshop is not a library file or template file, but a php file after processing. it may be a problem in the parsing process, unless you have encountered the same problem, it is difficult to help you.
 

PHP has encountered a Stack overflow appears after changing the space

Error No.: 1142
Solution:
1. 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 of the application is correct.
3. check whether the database is full. if the database is full and there is no space available, this will happen.

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

Http://www.bkjia.com/PHPjc/904913.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/904913.htmlTechArticlePHP has encountered a Stack overflow problem solution, stackoverflow last night will be a disucz forum after the transfer, found to open the page back to one more PHP has encountered a Stack...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.