Shaun, you can also define php_value (but NOT php_admin_value) lines in a .htaccess file rather than in your httpd.conf, assuming you gave (or were given) the appropriate AllowOverride parameters to use .htaccess... Unless you are running your own server or know root, then thats what might be your best (quickest) bet.
the appropriate format would be:
php_value include_path ".:/path/to/includes:/another/path/somewhere/else"
(personally, i use a "." as the first path to check current directory as well.. (covered in the manual as well, i believe)
--
Aaron Bennett
[EMAIL PROTECTED]
-----Original Message-----
From: lenar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 8:32 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Apache config + PHP include paths
in your virtualhost definition use:
php_value include_path "new include path"
might be that instead of php_value you have to use php_admin_value, not
sure.
this is explained in "Chapter 3. Configuration" of php manual.
lenar.
""Butler, Shaun"" <[EMAIL PROTECTED]> wrote in message
01062111140506.10472@progeny" TARGET="_blank">news:01062111140506.10472@progeny...
> is there a way to set up a different include path per virtual host in the
> apache config or in the php.ini ?
>
> so www.blahblah.com would have /www/libs as the include path
>
> and
>
> www.moomoo.com would have /www/moo
>
> -- Shaun
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]