You only need to use require or include to include files (whether it is. xx. php or xx. php) always reports the following error: include () [function. include]: open_ B... you only need to use require or include to include files (whether it is. /xx. php or xx. php) all reports the following errors
Warning: include () [function. include]: open_basedir restriction in effect. file () is not within the allowed path (s): (/var/www/:/tmp/:/var/cache/) in/var/www/testdir. php on line 2
Php 5.2.17 I heard that open_basedir has changed. I found that php. ini in php5.2.10 uses the right slash: open_basedir = "e:/web/; C:/WINDOWS/TEMP /;"
After upgrading to 5.2.17, tmd always reports an error and changes it to a left Slash. what is this? no wonder many programs will manually handle the slash problem. it is estimated that this problem should be solved: open_basedir = "e: web; C: WINDOWSTEMP ;"
This solves the problem. if it is not a php setting problem, the error message is usually Warning: include () [function. include]: URL file-access is disabled in the server configuration.
To solve this problem, you only need to adjust the include path normally.