On Thu, 28 Feb 2002, Curt Siffert wrote: >From what you describe, it seems you use Mandrake since long ago, and have updated your packages many times. Am I right?
Don't wrap the block testing for mod_php. It might get rid of the error, but it means the directives won't work... Instead, move the line that inserts virtual hosts at the bottom of httpd.conf. Jean-Michel > Odd - I ended up getting it to work after another > day of experimentation, and the only way it would > work was by putting putting the php statemets in an > if block testing for <mod_php.c> - if I take that out, > it doesn't. I've never seen that requirement in any > of the documentation I've run across. > > It could also be the order; these directives were > in my Vhosts.conf file, which by dist-default were > included earlier in the conf files than they are > now. > > Thanks, > Curt > > > Jean-Michel Dault wrote: > > >On Mon, 25 Feb 2002, Christian Belisle wrote: > > > >I tested it with the same versions, and the feature works. > > > >My test lines were: > >php_value include_path ".:/usr/lib/php" > >php_flag safe_mode on > > > >Perhaps you should try to put your configuration directives at the bottom > >of httpd.conf... > > > >Jean-Michel > > > >>-------- Original Message -------- > >>Subject: [Cooker] php/apache > >>Date: Tue, 19 Feb 2002 18:41:08 -0800 > >>From: Curt Siffert <[EMAIL PROTECTED]> > >>Reply-To: [EMAIL PROTECTED] > >>To: [EMAIL PROTECTED] > >> > >> > >>One of the features of php4 is that you can include > >>apache directives in your httpd.conf, like > >>php_value name value > >>- the commands are what you might see in a php.ini . > >> > >>When I tried using the latest cooker apache/php modules, > >>and added a command in my httpd.conf (in the recommended > >>place, and after the php4 module is loaded), I got: > >> > >>Syntax error: Invalid command 'php_value', > >>perhaps mis-spelled or defined by a module not included > >>in the server configuration > >> > >>Was the php4 apache module compiled without this > >>capability? Can it be fixed? > >> > >>php-4.1.1-3mdk > >>apache-1.323-1mdk > >>mod_php-4.1.1-2mdk > >> > >>(apache/php works fine on my box otherwise) > >> > >>Curt Siffert > >> > > > > > >------------------------------------------------------------ > >Jean-Michel Dault <[EMAIL PROTECTED]> > >Research & Development, Advanced Extranet Server > >Montreal (Canada)/Altadena (USA)/Paris (France) > > > > > > > > > > ------------------------------------------------------------ Jean-Michel Dault <[EMAIL PROTECTED]> Research & Development, Advanced Extranet Server Montreal (Canada)/Altadena (USA)/Paris (France)
