Can I set a different include path per Apache Virtual host?

From: Date: Wed, 09 Jun 2004 21:32:46 +0000
Subject: Can I set a different include path per Apache Virtual host?
Groups: php.general 
Request: Send a blank email to php-general+get-187986@lists.php.net to get a copy of this message
Can I set a different PHP include path per Apache Virtual host? I am trying this: <VirtualHost *> ServerAdmin zornek@asmp.org DocumentRoot /Library/WebServer/Websites/stage/content ServerName stage.asmpweb.org ErrorLog /Library/WebServer/Websites/stage/logs/error_log CustomLog /Library/WebServer/Websites/stage/logs/access_log common <IfModule mod_php4.c> php_value include_path ".:/usr/local/php/lib/php:/Library/WebServer/Websites/stage/content/includes " </IfModule> </VirtualHost> <VirtualHost *> ServerAdmin zornek@asmp.org DocumentRoot /Library/WebServer/Websites/dev/content ServerName dev.asmpweb.org ErrorLog /Library/WebServer/Websites/dev/logs/error_log CustomLog /Library/WebServer/Websites/dev/logs/access_log common <IfModule mod_php4.c> php_value include_path ".:/usr/local/php/lib/php:/Library/WebServer/Websites/dev/content/includes" </IfModule> </VirtualHost> But I don¹t think its working. ~ Mike ----- Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com>

« previous php.general (#187986) next »