RE: [PHPLIB] PHPLIB set for Virtual Servers (Linux/Apache) From: Alan Lee (alee <email protected>)
Date: 11/04/99

Use .htaccess in each directory to do your auto_prepends.
or use the <Directory> or <VirtualHost> containers in your httpd.conf
file.

im using php4 and i have this:

<Directory "/www/htdocs/epli">
   php_admin_value auto_prepend_file prepend.php3
# The file is included as if it was called with the include() function
</Directory>

in php3 i think it is something like:
php3_auto_prepend /path/to/prepend.php" in an .htaccess file

> -----Original Message-----
> From: John Burge [mailto:john <email protected>]
> Sent: Thursday, November 04, 1999 5:00 PM
> To: phplib <email protected>
> Subject: [PHPLIB] PHPLIB set for Virtual Servers (Linux/Apache)
>
>
> We have Virtual Servers defined on our Apache 1.3.9 running under Red
> Hat Linux 6.0 with PHP 3.0.12 and we want to be able to use PHPLIB 7.2
> for several of them. I can customize the files in
> ~VirtualServer/php as
> instructed in the documentation, ... but... there is only one php3.ini
> file, and thus only one include_path and auto_prepend_file--which
> therefore can only point to one of them.
>
> What is the best approach to configuring PHPLIB for this situation?
> --John
>
-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.