#34716 [Opn->Fbk]: ODBCconnect & Segmentation fault

From: Date: Mon, 03 Oct 2005 10:11:03 +0000
Subject: #34716 [Opn->Fbk]: ODBCconnect & Segmentation fault
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-85931@lists.php.net to get a copy of this message
ID: 34716 Updated by: tony2001@php.net Reported By: angelo dot courtel at cordonweb dot com -Status: Open +Status: Feedback Bug Type: ODBC related Operating System: Linux FC4 PHP Version: 5.0.5 New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2005-10-03 12:09:55] angelo dot courtel at cordonweb dot com Description: ------------ Hi, I try to connect a Linux computer with an Informix database using an ODBC component. First I try, to test the ODBC connectivity with PHP, with a MySQL database. I've successfully installed unixODBC, I've been confgured it, and the ODBC driver for the MySQL databse works fine when I try to connect it in terminal mode with the isql command. But when I use the function ODBCconnect() in my PHP script, the connection failed. And if I execute the script in terminal the error is "Segmentation fault". I don't know why, the Apache server is normally configure to work with ODBC because the configure string contains : '--with-unixODBC=shared,/usr' But I think the PHP not communicate fine with ODBC. Actual result: -------------- Segmentation fault ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34716&edit=1

« previous php.bugs (#85931) next »