I'd set it dynamically.
//Assuming a *nix style include_path
ini_set('include_path', '.:'.$_SERVER['DOCUMENT_ROOT']);
I wonder if you could do this in Apache httpd.conf or .htaccess (after DOCUMENT_ROOT is set).
php_value include_path .:%{DOCUMENT_ROOT}
Not sure if that would work. I know that works for other things. Might be one of those values that must be quoted, not sure what syntax to use for concatenation, or even if there is any.
You could include the former runtime set as an appended script, if necessary, via the auto_append_file / prepend directives.
Regards,
Rich
--
[
http://www.smilingsouls.net]
Mail_IMAP: A PHP/C-Client/PEAR solution for webmail
Author: Beginning CSS: Cascading Style Sheets For Web Design