RE: [PHP] Apache config + PHP include paths
| From: | Aaron Bennett | Date: | Thu, 21 Jun 2001 19:09:42 +0000 |
| Subject: | RE: [PHP] Apache config + PHP include paths | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-54790@lists.php.net to get a copy of this message | ||
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
abennett@liquidstudio.com
-----Original Message-----
From: lenar [mailto:lenar@dotcom.ee]
Sent: Thursday, June 21, 2001 8:32 AM
To: php-general@lists.php.net
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"" <sbutler@internet.com> wrote in message
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: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net