[Snort-users] BASE config problem - update

David.Ryan at ...13912... David.Ryan at ...13912...
Tue Feb 6 11:39:58 EST 2007


Thanks for the reply.  I have been away from the machine for a while and 
am only now getting to run these commands.

php --version ->
PHP 5.1.6 (cli) (built: Nov  3 2006 07:27:53)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

rpm -qa | grep -i mysql ->

The output of phpinfo( ) includes the following. I guess the '- 
-without-mysql' is the main problem - 
magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' 
'--with-apxs2=/usr/sbin/apxs'  --without-mysql' '--without-gd' 
'--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' 
'--disable-pdo' '--disable-xmlreader

Based on your mail it looks like I'm not going anywhere until I get mysql 
support added/included to my php install.  I originally didn't have 
php-mysql installed, but I added it before running the rom query above.  I 
retried the setup script, but unfortunately I still get the same errors.

Any other suggestions ?


David Ryan
IT Security Engineer, Global IT Security
Quintiles SIS, QDUB

david.ryan at ...14057...

Luis Torres <al1629608 at ...131...> 
29/01/2007 14:55

David.Ryan at ...13912..., snort-users at lists.sourceforge.net

Re: [Snort-users] BASE config problem - update


the PHP interpreter generates the errors you see on apache's error_log. 
The error is saying your php can't find the mysql_pconnect function so:

1. What version of php do you have? (use php --version)
2. Is it compiled with php support or have php-mysql? (create a script 
only with phpinfo() inside and/or run rpm -qa | grep -i mysql if you're on 
an rpm based system)
3. what happens if you create a little script just to open a connection to 
mysql? does it work? (just call mysql_pconnect, then close)

Good luck


----- Original Message ----
From: "David.Ryan at ...13912..." <David.Ryan at ...13912...>
To: snort-users at lists.sourceforge.net
Sent: Friday, January 26, 2007 11:12:15 AM
Subject: [Snort-users] BASE config problem - update

Sorry, shortly after posting to the list I did some further research and 
found this in the error_log for Apache - 
'PHP Fatal error:  Call to undefined function mysql_pconnect() in 
/var/www/html/adodb/drivers/adodb-mysql.inc.php on line 376' 

This line is repeated for multiple attempts so I guess this is part of the 

Any suggestions ?  I am connecting to a mysql database, but it looks like 
it is the function calll itself that is the problem rather than the 
connection itself. 


David Ryan
IT Security Engineer, Global IT Security
Quintiles SIS, QDUB

**********************  IMPORTANT--PLEASE READ  ************************
This electronic message, including its attachments, is COMPANY CONFIDENTIAL
and may contain PROPRIETARY or LEGALLY PRIVILEGED information.  If you are 
not the intended recipient, you are hereby notified that any use, disclosure,
copying, or distribution of this message or any of the information included
in it is unauthorized and strictly prohibited.  If you have received this
message in error, please immediately notify the sender by reply e-mail and
permanently delete this message and its attachments, along with any copies
thereof. If this electronic message contains a zipped attachment and you do
not have a decompression tool, you may download unZIP (free of cost) from:
http://www.mk-net-work.com/us/uz/unzip.htm. Alternatively, you may request
that the attachment be resent in an uncompressed format.        Thank you. 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snort.org/pipermail/snort-users/attachments/20070206/68658306/attachment.html>

More information about the Snort-users mailing list