Re: PHP's include_path
| From: | Neil Freeman | Date: | Mon, 04 Feb 2002 10:58:22 +0000 |
| Subject: | Re: PHP's include_path | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83386@lists.php.net to get a copy of this message | ||
Thanks for the syntax info Lars.
Neil
Lars Torben Wilson wrote:
> On Mon, 2002-02-04 at 01:43, Neil Freeman wrote:
> > Hi there,
> >
> > Am I correct in thinking that you can specify the PHP include_path line
> > within an Apache .htaccess file? If so does anyone know the correct
> > syntax of doing this?
>
> Something along the lines of:
>
> <IfModule mod_php4.c>
> AddType application/x-httpd-php .html .inc .php
> php_value include_path .:/path/to/include/files/
> </IfModule>
>
> Alter to suit your configuration.
>
> Hope this helps,
>
> Torben
>
> > If you cannot specifiy PHP's include_path line from within this file -
> > how do you use different include paths for different web sites???
> >
> > Hope someone can help :)
> >
> > Neil
> > --------------------------------
> > Email: neil.freeman@asa.co.uk
> > neil_freeman@yahoo.com
> > --------------------------------
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
> --
> Torben Wilson <torben@php.net>
> http://www.thebuttlesschaps.com
> http://www.hybrid17.com
> http://www.inflatableeye.com
> +1.604.709.0506
>
> ***************************************************************
> This message was virus checked with: SAVI 3.53 Jan 2002
> last updated 30th January 2002
> ***************************************************************
--
--------------------------------
Email: neil.freeman@asa.co.uk
neil_freeman@yahoo.com
--------------------------------