On Sunday 06 February 2005 07:27, John Nichel wrote:
> Hey, I'm running a box which hosts quite a few virtual hosts, and I
> want to configure it to where all vhosts have access to a global
> include directory (for things like PEAR and Smarty), as well as access
> to a local include directory for each virtual host.  My current config
> has me setting paths like this inside of each vhost directive in
> Apache....
>
> php_value include_path ".:/path/to/global:/path/to/local"
>
> What I'm wondering is if anyone knows of a way to set the global path
> in one location, and 'append' the local path in the vhosts directive. 

One method (not sure whether it's the best or most efficient) is to use an 
auto_prepend_file to set the local component(s) of the path.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
New Year Resolution: Ignore top posted posts

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to