View Full Version : Apache Reboot Message
OOagent137
2003-08-15, 17:20 PM
Whenever I reboot, this happens:
Aug 10 22:49:31 s1 httpd: httpd shutdown succeeded
Aug 10 22:49:31 s1 httpd: [Sun Aug 10 22:49:31 2003] [warn] module php4_module is already loaded, skipping
Aug 10 22:49:31 s1 httpd:
Aug 10 22:49:33 s1 httpd: httpd startup succeeded
Now, that's not a big deal I don't think. But it does concern me, what does it mean and should I be worried?
It means that it's trying to load the module twice in the conf file. It's just a warning, not harming anything. :)
OOagent137
2003-08-15, 18:46 PM
Any real reason to remove it then?
Not really. I mean, it's not hurting anything at all. It's just letting you know what's going on. :)
OOagent137
2003-08-15, 19:30 PM
Good deal then, thanks.
Nestor
2003-08-15, 22:48 PM
When I was running apache on Win32, it would set up as a service and also set up in the "Start up" folder. The service starts as soon as the machine boots. The "Start up" would load when I logged on. Just a heads up if any of you are running an older version of apache on Win32.
charlie
2003-08-16, 08:08 AM
you've probably got the php module loaded twice in your httpd.conf file.
like QT says, it's not a big deal, nor is it hurting anything, but if you're annoyed by it, edit your httpd.conf file and look for a line that looks like...
LoadModule php4_module libexec/libphp4.so
and look for it again, to see if it's in there twice and check and see if they are exactly the same and if they are... get rid of one of the instances.
charlie
=T
Originally posted by OOagent137
Whenever I reboot, this happens:
Aug 10 22:49:31 s1 httpd: httpd shutdown succeeded
Aug 10 22:49:31 s1 httpd: [Sun Aug 10 22:49:31 2003] [warn] module php4_module is already loaded, skipping
Aug 10 22:49:31 s1 httpd:
Aug 10 22:49:33 s1 httpd: httpd startup succeeded
Now, that's not a big deal I don't think. But it does concern me, what does it mean and should I be worried?
OOagent137
2003-08-16, 11:37 AM
Actually, I couldn't find one instance of it.
charlie
2003-08-16, 17:04 PM
that's odd... are you sure you've got the right httpd.conf file?
how are you searching for the text? try pico.
pico httpd.conf
control-w
php
repeat the control-w php to find the next iteration.
OOagent137
2003-08-17, 01:40 AM
I'm using this:
pico /etc/httpd/conf/httpd.conf
When I search for php I get this:
<IfDefine HAVE_PHP>
LoadModule php_module modules/mod_php.so
</IfDefine>
<IfDefine HAVE_PHP3>
LoadModule php3_module modules/libphp3.so
</IfDefine>
<IfDefine HAVE_PHP4>
LoadModule php4_module modules/libphp4.so
</IfDefine>
and this:
<IfDefine HAVE_PHP>
AddModule mod_php.c
</IfDefine>
<IfDefine HAVE_PHP3>
AddModule mod_php3.c
</IfDefine>
<IfDefine HAVE_PHP4>
AddModule mod_php4.c
</IfDefine>
and this:
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.shtml index.php index.php4 index.php3 ind$</IfModule>
and this:
<IfModule mod_php4.c>
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
</IfModule>
<IfModule mod_php3.c>
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
</IfModule>
<IfModule mod_php.c>
AddType application/x-httpd-php .phtml
</IfModule>
and this:
<IfDefine HAVE_FRONTPAGE>
LoadModule frontpage_module modules/mod_frontpage.so
LoadModule php4_module /usr/lib/apache/libphp4.so
#AddModule mod_frontpage.c
</IfDefine>
Wow, does that mean we have php3 and php4?
Also, what is does this mean?
<IfModule mod_php.c>
AddType application/x-httpd-php .phtml
</IfModule>
I mean, if I use the .phtml extension, what happens? What version of PHP does it use?
Thanks.
charlie
2003-08-17, 01:55 AM
hey...
you listed
LoadModule php4_module /usr/lib/apache/libphp4.so
under two different ifdefine statements. so that would mean that if you have frontpage enabled, you will get that warning, if you don't enable frontpage, you don't get the warning, since it'll only read the one statement only.
i suggest just leaving it alone.
OOagent137
2003-08-17, 18:07 PM
I think I'll take your suggestion Charlie :)
Thanks you guys for all the help with this problem.
vBulletin® v3.6.8, Copyright ©2000-2008, Jelsoft Enterprises Ltd.