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

From: Date: Thu, 10 Jun 2004 16:04:54 +0000
Subject: Re: [SOLVED] 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-188062@lists.php.net to get a copy of this message
On 6/10/04 11:56 AM, "John Nichel" <john@kegworks.com> wrote: > Our info file is here... > > http://www.kegworks.com/phpinfo.php > > Couldn't see yours, as it wanted a username/password (HTTP auth). Sorry. > According to your httpd.conf, php isn't running a a module... > > #LoadModule php4_module libexec/httpd/libphp4.so > > That line (and the corresponding AddModule line) would need to be > uncommented if php was installed as a module. It is actually loaded with an include file at the bottom: Include /usr/local/php/httpd.conf.php has: > # > # Additional PHP Apache directives, > # part of the entropy.ch PHP package for Mac OS X > # > # For more information, go to > http://www.entropy.ch/software/macosx/php/ > # > > LoadModule php4_module /usr/local/php/libphp4.so > AddModule mod_php4.c Anyways .. I found a work around. I set up the <Directory> to "AllowOverride Options" and then in my .htaccess file put: # PHP php_value include_path ".:/usr/local/php/lib/php:/Library/WebServer/Websites/dev/content/includes And it seems to be working. Thanks for all your help. ~ Mike ----- Mike Zornek Web Designer, Media Developer, Programmer and Geek Personal site: <http://MikeZornek.com>

« previous php.general (#188062) next »