Strange questions about PHP5.4 on Linux

Source: Internet
Author: User
Strange problems with Linux under PHP5.4
Today, occasionally interested in debugging a previous write in the database packaging class, the results appear fatal error:class ' option ' not found strange error, very depressed, the front is printed a large OptIn class source code, and then Xdebug error report, This is the problem, thought is the class declaration of the problem, and then loaded with require_once all files, or not ...
My database class execution order is: MySQL extends db; DB extends option; The calling method is $db = db::getinstance (' mysql '); $db, Config ($config); $db->find ();
Why in Win under can, under Linux not, tested, not the problem of file permissions, is not the problem of file naming, using the direct loading, also used __autoload; why would I print the entire code of the option file on the page?
There's really no way.
Ask for answers ...!

------Solution--------------------
You'd better give me the wrong message.
------Solution--------------------
PHP not resolved?
Will it be
  • 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.