[snip] There's really no reason to wrap the 'php_value' in the IfModule statement. Other than the, the syntax looks good...I know it's supposed
to work in the httpd.conf, but I've never tested that...I've always done it in a .htaccess in the document root for the virtual. [/snip] I'm pretty much a newbie to administering Apache so could you provide an example? I've set my .htaccess file up like this, and placed it in the root of the site: php4_include_path .:/usr/local/lib/php:/path/to/cmsdev.unbc.ca/html but I'm still not seeing the changes taking effect. Any ideas? Cheers and TIA. Pablo -----Original Message----- From: John Nichel [mailto:[EMAIL PROTECTED] Sent: Monday, November 24, 2003 3:02 PM To: Pablo Gosse Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Changing php directives inside apache config file Pablo Gosse wrote: > Hi all. I'm trying to alter the include_path for three different sites > running on the same machine, and I do not want to use ini_set in each > file. > > Here's what I've set up for each virtual host inside my httpd.conf file: > > <VirtualHost ###.###.##.###> > <IfModule mod_php4.c> > php_value include_path > ".:/usr/local/lib/php:/path/to/cmsdev.unbc.ca/html" > </IfModule> > ServerAdmin [EMAIL PROTECTED] > DocumentRoot /path/to/cmsdev.unbc.ca/html > ServerName cmsdev.unbc.ca > ErrorLog /path/to/cmsdev.unbc.ca/logs/cmsdev.unbc.ca-error_log > CustomLog logs/dummy-host.example.com-access_log common > ErrorDocument 403 /403.php > ErrorDocument 404 /404.php > </VirtualHost> > > However even after restarting apache the include_path is not being set > correctly. > > Can anyone give me any advice as to where I'm going wrong? > > Cheers and TIA, > Pablo > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php