ID: 34716 Updated by: [EMAIL PROTECTED] 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