When include, require, and require_once are used in php pages to contain pages of other status, an error is displayed, for example, the page is not invented or the permission is not allowed, you can use the following methods to eliminate frequent errors when include, require, and require_once pages are used in php pages that contain other status pages, such as pages not invented, or permission does not agree, you can use the following methods to eliminate
1. When an error similar to "File Not Found" is displayed, check whether the status of the include file is correct. The following is the reference on the php manual page:
Files for including are first looked in your de_path relative to the current working directory and then in the directory of the current script. e. g. if your include_path is libraries, current working directory is/www/, you have Ded include/. php and there is include 'B. php 'in that file, B. php is first looked in/www/libraries/and then in/www/include /. if filename begins. /or .. /, it is looked only in your de_path relative to the current working directory.
2. when a permission deny error is displayed, remove it as follows:
A) checks whether the read permission of the included files is enabled.
B) check whether the x permission of each directory on the included file path is enabled. this permission determines whether the directory can be browsed.