[Solution] Re: open_basedir error (was: open_basedir error)
From: Alvaro G Vicario (alvaro_QUITAR_REMOVE_at_telecomputeronline.com)
Date: 09/03/04
- Next message: Markus Ernst: "Re: PHP global namespace clogged up"
- Previous message: Daniel Tryba: "Re: userID is sent as FROM field when using mail() - how to avoid?"
- In reply to: Alvaro G Vicario: "open_basedir error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 3 Sep 2004 17:03:13 +0200
*** Alvaro G Vicario wrote/escribió (Wed, 1 Sep 2004 13:51:36 +0200):
> php_admin_value open_basedir /tmp/:/home/site/
>
> All my PHP files are under /home/site/htdocs. However, I get lots of errors
> like:
>
> Warning: open_basedir restriction in effect. File is in wrong directory in
> /home/site/.......
It happened that 'include_path' contained /usr/share/pear/. Whatever the
reason, include_once() tried to search for the file there when I provided a
relative path, thus the warning. Weird thin is that it didn't happen *every
time* I used relative paths...
Solution:
/tmp/:/home/site/:/usr/share/pear/
-- -- Álvaro G. Vicario - Burgos, Spain -- Questions sent to my mailbox will be billed ;-) --
- Next message: Markus Ernst: "Re: PHP global namespace clogged up"
- Previous message: Daniel Tryba: "Re: userID is sent as FROM field when using mail() - how to avoid?"
- In reply to: Alvaro G Vicario: "open_basedir error"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|