Include_path.: usrsharephp: usrsharepear Fatal error: require_once (): Failed opening required '.. /exception/db_exception.php '(include_path = '. :/usr/share/php:/usr/share/pear ')
RT. I make sure that my reference path is correct, but I am still prompted to failed to open. I changed the permission to 777. this problem still exists.
Reply to discussion (solution)
Where is your program file?
I guess this is the problem: http://bbs.phpchina.com/thread-181640-1-1.html. now I have changed it according to this example.
Http://www.laruence.com/2012/09/12/2765.html
I don't want to talk to you about the problem, but I think you can look at the file contained in php.
This problem has been solved, so we can see that the reference of Php is different from that of java later. at the beginning, access. php, then current_dir is the folder. if you want to configure the Include file, there will be problems with the path, because the file you want to file now is. php path. My current practice is to let all requests go through Index. php, define various paths in Index. php, and distribute them to different controllers.