Title: RE: [PHP] Apache config + PHP include paths
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
on 6/21/01 8:14 AM, Butler, Shaun at [EMAIL PROTECTED] wrote:
> 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
>
> --
Yes, in httpd.conf, just add the appropriate line, i.e.
php_value include_path "blah"
in the section for each virtual host.
- Tim
http://www.phptemplates.org
> is there a way to set up a different include path per virtual host in the
> apache config or in the php.ini ?
--
PHP General Mai
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
010624050
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
5 matches
Mail list logo