Re: PHP4 directives in httpd.conf not working

From: Date: Mon, 26 Feb 2001 05:37:12 +0000
Subject: Re: PHP4 directives in httpd.conf not working
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-41651@lists.php.net to get a copy of this message
On Mon, 26 Feb 2001 15:30, Brian White wrote: > I have php4 running under Apache. Under that apache I have several > <VirtualHost>s. I want to set to some of the PHP.INI values under > one of those hosts. So far I have tried the following values in > my httpd.conf file: > > 1) include_path "/my/phpinc/path" > 2) php_include_path "/my/phpinc/path" > 3) php3_include_path "/my/phpinc/path" > 4) php4_include_path "/my/phpinc/path" > > None of them have worked - I can't even restart Apache with them in > place. "/my/phpinc/path" definitely exists. > > What am I doing wrong? > > Regs > > Brian White PHP4 uses different Apache configuration directives (see http://au.php.net:81/manual/en/configuration.php ) I think the one you want is probably php_value so php_value include_path "/my/phpinc/path" might work. -- David Robley | WEBMASTER & Mail List Admin RESEARCH CENTRE FOR INJURY STUDIES | http://www.nisu.flinders.edu.au/ AusEinet | http://auseinet.flinders.edu.au/ Flinders University, ADELAIDE, SOUTH AUSTRALIA

« previous php.general (#41651) next »