The strange problem in PHP5.4 in Linux is occasionally interesting today. After debugging the database encapsulation Class previously written in Win, the Fatalerror: Class 'option' notfound error occurs, which is depressing, I printed a large piece of optin class source code, and then Xdebug's error report. why is this strange problem in PHP5.4 in Linux?
I am occasionally interested in debugging the database encapsulation Class previously written in Win. the Fatal error: Class 'option' not found is returned, which is very depressing, I printed a large piece of optin class source code, and then Xdebug's error report. this is a subproblem. I thought it was a class declaration problem, and then I loaded all the files with require_once, still not good...
The execution sequence of my database classes is: mysql extends db; db extends option; the call method is $ db = db: getinstance ('mysql '); $ db-> Config ($ config); $ db-> find ();
Why is it possible in windows? it cannot be used in Linux. it has been tested. it is not a problem with File permissions, nor is it a problem with File naming. it has been used for direct loading or _ autoload; why does the entire option file code be printed on a webpage?
No way.
Please answer ...!
------ Solution --------------------
You 'd better give an error message
------ Solution --------------------
Php not parsed?
Will it be?
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