Re: apache2 php5 error
On Tue, 2010-08-17 at 16:00 -0400, Paul Cartwright wrote:
> I know I've had this error before, but I can't remember what fixed it. I've
> tried purging apache2 & php5, and reinstalling, same error..
> there is only 1 httpd.conf file under /etc and it is /etc/apache2/httpd.conf
> and it only has 1 line with libphp in it..
>
>
> paulandcilla:/etc/apache2# /etc/init.d/apache2 restart
> Restarting web server: apache2[Tue Aug 17 15:55:42 2010] [warn] module
> php5_module is already loaded, skipping
> [Tue Aug 17 15:55:42 2010] [warn] module php5_module is already loaded,
> skipping
> failed!
>
In Debian, Apache will load the modules which are listed in the
directory /etc/apache2/mods-enabled (symlinks to mods-available)
If I recall correctly, it will be enabled by default when you install
the libapache2-mod-php5 package (along with php5 and apache, also is the
case with php4 if you're using Lenny).
It seems like you have both the default symlink and a line in your
httpd.conf file.
regards,
Steven
Reply to: