note 114720 rejected from book.uodbc by cmb

From: Date: Wed, 02 Sep 2015 16:43:37 +0000
Subject: note 114720 rejected from book.uodbc by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-203575@lists.php.net to get a copy of this message
Note Submitter: henrique at augusto dot com ---- I have problems with php5-recode and php5-odbc. With both packages installed, odbc_execute() hangs up causing Segmentation Fault. I was using a simple script to test that: <?php #DSN "mydb" with a user and password "marin" $connect = odbc_connect("myaccess", "", ""); # query the users table for name and surname $query = "SELECT * FROM FRT_NAME"; # perform the query $result = odbc_exec($connect, $query); # fetch the data from the database while(odbc_fetch_row($result)){ $name = odbc_result($result, 2); print("$name\n"); } # close the connection odbc_close($connect); ?> After uninstalling php5-recode, the issue is solved.

« previous php.notes (#203575) next »