DirectAdmin Forums

Go Back   DirectAdmin Forums > Technical Discussion > Apache (WWW)

Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2008, 04:29 PM
winger's Avatar
winger winger is offline
Verified User
 
Join Date: Oct 2004
Location: Rio de Janeiro - Brasil
Posts: 163
[warn] module php5_module is already loaded, skipping

hello,

I got this error when I restart apache:

[warn] module php5_module is already loaded, skipping

this is normal?
Reply With Quote
  #2  
Old 01-30-2008, 05:16 PM
spirit spirit is offline
Verified User
 
Join Date: Nov 2004
Location: Germany - Bremen
Posts: 189
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
Reply With Quote
  #3  
Old 01-31-2008, 08:25 AM
winger's Avatar
winger winger is offline
Verified User
 
Join Date: Oct 2004
Location: Rio de Janeiro - Brasil
Posts: 163
hi,

yes, this works.

thank you.
Reply With Quote
  #4  
Old 10-10-2008, 05:28 AM
tristan's Avatar
tristan tristan is offline
Verified User
 
Join Date: Feb 2005
Location: Delft, The Netherlands
Posts: 104
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?
__________________
Tristan Woudenberg
Prism Open Source
Deployment, customization and hosting
Reply With Quote
  #5  
Old 10-11-2008, 03:23 PM
Rich-Boy Rich-Boy is offline
Verified User
 
Join Date: Jan 2006
Posts: 225
Quote:
Originally Posted by tristan View Post
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.
__________________
www.BitTraffic.com
Reply With Quote
  #6  
Old 10-13-2008, 12:38 AM
tristan's Avatar
tristan tristan is offline
Verified User
 
Join Date: Feb 2005
Location: Delft, The Netherlands
Posts: 104
Thanks! Sounds reasonable, going to implement that...
__________________
Tristan Woudenberg
Prism Open Source
Deployment, customization and hosting
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:43 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
DirectAdmin © 2007 JBMC Software