|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-06-16 14:04 UTC] attila dot perger at hu dot ibm dot com
[2017-07-21 06:42 UTC] vnkbabu@php.net
[2018-08-27 10:00 UTC] vnkbabu@php.net
-Status: Open
+Status: Closed
-Assigned To:
+Assigned To: vnkbabu
[2018-08-27 10:00 UTC] vnkbabu@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 22:00:01 2025 UTC |
Description: ------------ 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: --------------- <?php $database = 'test01'; $user = 'yyyyy'; $password = 'xxxx'; $hostname = 'localhost'; $port = 50000; $conn_string = "DRIVER={IBM DB2 ODBC DRIVER};DATABASE=$database;" . "HOSTNAME=$hostname;PORT=$port;PROTOCOL=TCPIP;UID=$user;PWD=$password;"; $conn = db2_connect($conn_string, '', ''); if ($conn) { echo "Connection succeeded."; db2_close($conn); } else { echo "Connection failed."; } ?>