Snort mailing list archives

Problem installing Snort with PHP -please help


From: Juan Fernandez <Juan.Fernandez () deltathree com>
Date: Tue, 3 Aug 2004 11:26:01 +0300

Hi,

 

I am installing snort on a Red Hat 9 machine according to Snort, Apache,
PHP, MySQL and Acid

Install on RH9.0 by Patrick Harper which I downloaded in the snort web site.

 

I have a problem with php 4.3.3.

 

After the install and editing of /www/conf/httpd.conf  I receive the
following error when I try to start /etc/rc5.d/S85httpd start

 

[root@linuxmgr root]# /etc/rc5.d/S85httpd start

Syntax error on line 231 of /www/conf/httpd.conf:

Cannot load /www/modules/libphp4.so into server: /www/modules/libphp4.so:
cannot open shared object file: No such file or directory

 

This is the 231 line in /www/conf/httpd.conf  :

 

LoadModule php4_module modules/libphp4.so

 

And those are the files I have in /www/module directory :

 

[root@linuxmgr root]# ls -al /www/modules

total 10980

drwxr-xr-x    2 root     root         4096 Aug  2 17:57 .

drwxr-xr-x   16 root     root         4096 Aug  2 17:57 ..

-rw-r--r--    1 root     root         8217 Aug  2 17:42 httpd.exp

-rw-r--r--    1 root     root     11198994 Aug  2 17:57 libphp4.a

-rw-r--r--    1 root     root          740 Aug  2 17:57 libphp4.la

 

I tried replacing the 3 files in the directory instead of libphp4.so but it
didn't help !!! I got another error when I tried to start http.

 

Please Help !!

 

Thanks

 

 


Current thread: