|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #72432 Segmentation fault 11
Submitted: 2016-06-16 14:01 UTC Modified: 2018-08-27 10:00 UTC
From: attila dot perger at hu dot ibm dot com Assigned: vnkbabu (profile)
Status: Closed Package: ibm_db2 (PECL)
PHP Version: Irrelevant OS: Mac OS X 10.7
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
13 + 45 = ?
Subscribe to this entry?

 [2016-06-16 14:01 UTC] attila dot perger at hu dot ibm dot com
I have executed the next script, but the connection is not established, because of a segmentation fault (11) raised.

I would like to work under MacOS X...

Test script:
$database = 'test01';
$user = 'yyyyy';
$password = 'xxxx';
$hostname = 'localhost';
$port = 50000;

$conn_string = "DRIVER={IBM DB2 ODBC DRIVER};DATABASE=$database;" .
$conn = db2_connect($conn_string, '', '');

if ($conn) {
    echo "Connection succeeded.";
else {
    echo "Connection failed.";


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-06-16 14:04 UTC] attila dot perger at hu dot ibm dot com
I have executed the code with the built in PHP 5.3.15 and with PHP 5.5.33 (build  according to the following page:
 [2017-07-21 06:42 UTC]
I tried the scenario but for me connection was successful. I am running in a macOS Sierra(10.12.5).

Kindly let us know the version you are running and are you running your application with apache or it have any specific php configuration ?
 [2018-08-27 10:00 UTC]
-Status: Open +Status: Closed -Assigned To: +Assigned To: vnkbabu
 [2018-08-27 10:00 UTC]
Kindly test with latest release. If issue still persist kindly reopen it.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 08 10:03:35 2021 UTC