Re: Apache config + PHP include paths

From: Date: Thu, 21 Jun 2001 18:52:27 +0000
Subject: Re: Apache config + PHP include paths
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54788@lists.php.net to get a copy of this message
on 6/21/01 8:14 AM, Butler, Shaun at sbutler@internet.com 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 > > -- Shaun <VirtualHost 123.456.789.000:80> DocumentRoot /usr/local/web/myWeb ServerName myWeb.org ServerAlias www.myWeb.org php_value include_path /usr/local/web/myWeb_inc CustomLog /usr/local/web/logs/myWeb_access_log combined ErrorLog /usr/local/web/logs/myWeb_error_log </VirtualHost> That would make the include directory outside the server root. You could just as easily put it inside and name all your files *.php. But that has been discussed at length already ;^) DAve -- Dave Goodrich Director of Interface Development Reality Based Learning Company 9521 NE Willows Road, Suite 100 Redmond, WA 98052 Toll Free 1-877-869-6603 ext. 237 Fax (425) 558-5655 daveg@rblc.com http://www.rblc.com

« previous php.general (#54788) next »