Re: PHP's include_path
| From: | Lars Torben Wilson | Date: | Mon, 04 Feb 2002 10:40:39 +0000 |
| Subject: | Re: PHP's include_path | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83382@lists.php.net to get a copy of this message | ||
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