On Thu, 7 Mar 2002, Curt Siffert wrote:

That's strange... would you mind sending me your configuration files?

Jean-Michel

> Date: Thu, 07 Mar 2002 21:15:15 -0800
> From: Curt Siffert <[EMAIL PROTECTED]>
> To: Jean-Michel Dault <[EMAIL PROTECTED]>
> Cc: Christian Belisle <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
> Subject: Re: [Cooker] php/apache
> 
> Sorry, doesn't work.  This was a fresh 8.1 install, and I
> update from cooker fairly regularly.
> 
> I moved including commonhttpd.conf and Vhosts.conf
> to be called *after* including the php.conf from addon
> modules, and it still doesn't work unless I put the values
> inside of the module testing like this:
> <IfModule mod_php4.c>
>   php_value include_path "/usr/lib/php"
> </IfModule>
> 
> When I remove the IfModule lines, apache doesn't restart.
> And I've confirmed that when they are in there, the directives
> do work.
> 
> I have apache 1.3.23-1 and mod_php 4.1.1_2 .
> 
> Thanks,
> Curt
> 
> 
> 
> Jean-Michel Dault wrote:
> 
> >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)
> >
> >
> >
> >
> 
> 


------------------------------------------------------------
Jean-Michel Dault <[EMAIL PROTECTED]>
Research & Development, Advanced Extranet Server 
Montreal (Canada)/Altadena (USA)/Paris (France)


Reply via email to