PDA

View Full Version : [warn] module php5_module is already loaded, skipping



winger
01-30-2008, 05:29 PM
hello,

I got this error when I restart apache:

[warn] module php5_module is already loaded, skipping

this is normal?

spirit
01-30-2008, 06:16 PM
You have two of the lines in your httpd.conf: LoadModule php5_module /usr/lib/apache/libphp5.so

Look into /etc/httpd/conf/httpd.conf and remove one off these lines

LoadModule php5_module /usr/lib/apache/libphp5.so

winger
01-31-2008, 09:25 AM
hi,

yes, this works.

thank you.

tristan
10-10-2008, 06:28 AM
The php5_module is loaded directly in:

/etc/httpd/conf/httpd.conf

but also in the by that file included:

/etc/httpd/conf/extra/httpd-phpmodules.conf

which one should I delete when I'm using the custombuild system?

Rich-Boy
10-11-2008, 04:23 PM
The php5_module is loaded directly in:

/etc/httpd/conf/httpd.conf

but also in the by that file included:

/etc/httpd/conf/extra/httpd-phpmodules.conf

which one should I delete when I'm using the custombuild system?

It doesn't really matter in my opinion but the most suitable place to load the module is within httpd-phpmodules.conf. You'll want to keep httpd.conf as clean as possible.

tristan
10-13-2008, 01:38 AM
Thanks! Sounds reasonable, going to implement that...

Seth
07-02-2011, 07:24 AM
thank you, this removed the warning