PHP has encountered a Stack overflow problem solving method, stackoverflow_php tutorial

Source: Internet
Author: User

PHP has encountered a Stack overflow problem solving method, StackOverflow


After a DISUCZ forum was transferred last night, it was found that the page was opened on the back of a PHP has encountered a stack overflow this prompt error, translated into "PHP encountered a stack overflow." I feel strange, the new station no one to visit, how can overflow. All right, go discuz The official forum to find a solution.

Find the first solution, update the background cache, the result is not. Next check the database configuration file, and there is no error. There is no error checking PHP permissions.

Discuz Official Website Some people say that PHP version is too low, the individual is more offensive to this kind of person, this kind of argument is relatively nonsense. No need to prove it.


To compare the old and new servers, found a problem, two paths are different, immediately go to see the parent Directory folder permissions, sure enough, there is a problem with permissions. The file path is d:/www/discuz. View the old server above the WWW and Discuz folder permissions with "Anonymous guest permissions". On the new server to see the WWW folder does not have "anonymous guest permissions" and Discuz folder permissions are there. Indicates that the previous level of directory permissions are insufficient. Give permission again. OK perfectly solves the problem of PHP has encountered a Stack overflow.

The above said so much, is actually a sentence:

Under Windows Server are permissions issues, specifically the permissions issue at the top level of the directory.

For example:

The original site Directory is d:\www\jb51

A quick and secure solution is to create a new directory Webroot in the JB51 directory, and the permissions for this directory are the same as jb51 permissions.

Now the Site Directory is: D:\www\jb51\webroot can.

Many PHP systems now cause errors such as Discuz, phpMyAdmin, and so on.


Ecshop Program Development website access page appears PHP has encountered a Stack overflow error

Ecshop the final output of the page is not a library file or template file, but to deal with the future of PHP files, may be in the process of parsing a problem, you generally ask, unless you have encountered the same problem, otherwise it is difficult to help you.

PHP has encountered a Stack overflow appears after changing space

Error Number: 1142
Workaround:
1. Please check if your MySQL account has the appropriate permissions.
2. Check that the connection database in the config configuration file under the application is the correct account.
3, check whether the database is full, if the database is full of space after the situation will also occur.

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

http://www.bkjia.com/PHPjc/904913.html www.bkjia.com true http://www.bkjia.com/PHPjc/904913.html techarticle PHP has encountered a stack overflow problem solving method, StackOverflow last night to transfer a DISUCZ forum, found the open page back one more PHP has encountered a Stack. .

  • Related Article

    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.