Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: groyk on July 28, 2009, 04:09:39 PM
-
Hi
Is it posible to create an "MASTER" ibay for php claces and functions?
Iv'e tried but when I try to include I get following message.
Warning: main(): open_basedir restriction in effect. File(/home/e-smith/files/ibays/MASTERIBAY/html/class.php) is not within the allowed path(s): (/home/e-smith/files/ibays/IBAY/) in /home/e-smith/files/ibays/IBAY/html/script.php on line 6
Can I place my libery another place and the symlink it into my ibays?
-
Hi
Is it posible to create an "MASTER" ibay for php claces and functions?
Iv'e tried but when I try to include I get following message.
Warning: main(): open_basedir restriction in effect. File(/home/e-smith/files/ibays/MASTERIBAY/html/class.php) is not within the allowed path(s): (/home/e-smith/files/ibays/IBAY/) in /home/e-smith/files/ibays/IBAY/html/script.php on line 6
Can I place my libery another place and the symlink it into my ibays?
You are limited by the PHPBaseDir restriction, which prevents PHP from loading files outside of it's directory scope. If you add the Primary location to the PHPBaseDir of your othe ribay it should work. More on configuring PHPBaseDir settings is in the wiki: http://wiki.contribs.org/PHP#Open_basedir_restriction
-
Hi Cactus
Thank you for your help, works perfect!