info.php shows the following:
- Code: Select all
include_path .:/volume1/homes/me/php_include:/usr/syno/php/lib/php .:/volume1/homes/me/php_include:/usr/syno/php/lib/php
and
- Code: Select all
open_basedir /volume1/homes/me/php_include:/etc.defaults:/usr/bin/php:/usr/syno/synoman:/etc:/var/run:/tmp:/var/spool/php:/volume1/@tmp/php:/var/services/web:/var/services/photo:/var/services/blog:/var/services/homes
Yet I get the following error
- Code: Select all
Warning: require_once(): open_basedir restriction in effect. File(/volume1/homes/me/php_include/tstat_configuration.php) is not within the allowed path(s): (/volume1/homes/me/php_include:/etc.defaults:/usr/bin/php:/usr/syno/synoman:/etc:/var/run:/tmp:/var/spool/php:/volume1/@tmp/php:/var/services/web:/var/services/photo:/var/services/blog:/var/services/homes) in /volume1/web/tstat/tstat_common.php on line 16 Warning: require_once(/volume1/homes/me/php_include/tstat_configuration.php): failed to open stream: Operation not permitted in /volume1/web/tstat/tstat_common.php on line 16 Fatal error: require_once(): Failed opening required 'tstat_configuration.php' (include_path='.:/volume1/homes/me/php_include:/usr/syno/php/lib/php') in /volume1/web/tstat/tstat_common.php on line 16
If you notice the error states that the path of the file is indeed in the "allowed path(s)"
I restarted PHP and apache, I also have rebooted the server. I also searched here, but there were no similar problems and some seem to have this working. Could this be a new issue with 4.0b? Is there more to mod than open_basedir and include_path?
Thanks


