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

I am trying this:

<VirtualHost *>
    ServerAdmin [EMAIL PROTECTED]
    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 [EMAIL PROTECTED]
    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>

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to