[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Troubles with Apache and PHP4 installs



On Mon, Mar 19, 2001 at 09:16:46PM -0800, jenny w wrote:
> Hi! I'm kind of new to Debian.  After a bit of trouble, I got things
> (including Apache) to work the way I expected.  Then I decided to
> install PHP4 and troubles began.  The PHP4 package install offered to
> run apacheconfig.  I did this, and then apache wouldn't start.  The
> weird thing is that it gives errors like:
> 
>   Syntax error on line 70 of /etc/apache/httpd.conf:
>   Invalid command 'ExtendedStatus', perhaps mis-spelled or defined by a
> 
>     module not included in the server configuration
> 
> This seems strange because this doesn't seem like something that PHP4
> would have changed.  I looked up the apache docs and it says this is
> something from mod_status.  Did apt-get somehow clobber the Apache
> modules?  Is there a good way to undo the damage?  I already tried
> purging Apache and PHP4 (and MailMan, which was dependent on Apache)
> and then reinstalling just Apache, but no dice.  I also tried running
> "apt-get check" to check dependencies, but it thinks everything is
> fine.
> 

Do you have a line like -
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

and
AddType application/x-httpd-php .php 
AddType application/x-httpd-php-source .phps

in your /etc/apache/httpd.conf file?

I have a line -
ExtendedStatus On
on line 18 of /etc/apache/httpd.conf
hth,
kent

-- 
 From seeing and seeing the seeing has become so exhausted
     First line of "The Panther" - R. M. Rilke




Reply to: