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

From: Date: Thu, 10 Jun 2004 15:01:54 +0000
Subject: Re: Can I set a different include path per Apache Virtual host?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-188050@lists.php.net to get a copy of this message
Mike Zornek wrote:
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
    php_value include_path
".:/usr/local/php/lib/php:/Library/WebServer/Websites/stage/content/includes " </VirtualHost> <snip>
But get the following error: Ghen:~ zorn$ httpd -t Syntax error on line 1070 of /etc/httpd/httpd.conf: Invalid command 'php_value', perhaps mis-spelled or defined by a module not included in the server configuration Same error if I use php_admin_value
What version of Apache? I currently have multiple boxes running with configurations like this, all on Apache 1.3.x, without any problems (one of them's a Mac...looks like you're using a Mac above). -- John C. Nichel KegWorks.com 716.856.9675 john@kegworks.com

« previous php.general (#188050) next »