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

Re: Apache and Php



Le Wed, 30 Mar 2005 09:30:42 -0800, Curtis Vaughan a écrit :
> So, in reply to the many responses I got. Yes, I am using sarge.
> 
> So, what I did was issue the following command:
> 
> /usr/sbin/apache-modconf apache enable php
> then:
> apachectl restart
> 
> Nonetheless php is not working.
> My /etc/apache/modules.conf now reads:
> 
the module list contains php4 so this part is ok.

Do you have :

# To be able to use the functionality of a module which was built as a DSO you
# have to place corresponding `LoadModule' lines at this location so the
# directives contained in it are actually available _before_ they are used.
# Please read the file README.DSO in the Apache 1.3 distribution for more
# details about the DSO mechanism and run `apache -l' for the list of already
# built-in (statically linked and thus always available) modules in your apache
# binary.
#
# Please keep this LoadModule: line here, it is needed for installation.
Include /etc/apache/modules.conf

in /etc/apache/httpd.conf (before all the <ifmodule ... directives ) ?
else this file is not read so the above is not used. 

If i am again wrong :P (well my super mind reader is still in alpha stage :) ...
Could you tell what you usually do to get it right (or send a lot of logs ! )


Regards
Alban




Reply to: