Colin Guthrie wrote:
Patrik Jansson wrote:
I ran into problems with openbase_dir when using symlinks... They only
really reared their ugly head when I upgraded to 5.1.6 before that they
were OK (tho' if memory serves I had to add both the symlink location
and the directory it pointed to.
Anyway, are symlinks to blame here?
I've added the real path into open_basedir, I also removed the // error
but still I get the restriction message:
*Warning*: file_exists() [function.file-exists]: open_basedir
restriction in effect.
File(/home/web25637/domains/abc.ssf.scout.se/public_html/components/com_sef/sef.php)
is not within the allowed path(s):
(/home/web25637/:/usr/home/web25637/:/tmp/:/var/www/:/usr/local/lib/php/:/etc/virtual/:/var/uploads/:/var/squirrelmail)
in */usr/home/web25637/domains/abc.ssf.scout.se/public_html/index.php*
on line *46
*
So then I changed the absolute path in Joomla from /home/... to
/usr/home/...
and now I don't get the error anymore so it seems like it has something
to do
with the symbolic link after all.
Is this considered a bug? We're running PHP 5.1.6.
If it could work using the symbolic link /home too I would really
appreciate.
-Patrik
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php