|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-04-22 11:49 UTC] php at 4d dot fr
[2009-04-23 08:23 UTC] php at 4d dot fr
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 19:00:01 2025 UTC |
Description: ------------ PHP crash while trying to connect 4D with PDO_4D The configure Line is : '/SourceCache/apache_mod_php/apache_mod_php-44.1/php/configure' '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--disable-dependency-tracking' '--with-apxs2=/usr/sbin/apxs' '--with-ldap=/usr' '--with-kerberos=/usr' '--enable-cli' '--with-zlib-dir=/usr' '--enable-trans-sid' '--with-xml' '--enable-exif' '--enable-ftp' '--enable-mbstring' '--enable-mbregex' '--enable-dbx' '--enable-sockets' '--with-iodbc=/usr' '--with-curl=/usr' '--with-config-file-path=/etc' '--sysconfdir=/private/etc' '--with-mysql-sock=/var/mysql' '--with-mysqli=/usr/bin/mysql_config' '--with-mysql=/usr' '--with-openssl' '--with-xmlrpc' '--with-xsl=/usr' '--without-pear' With these shared extensions : extension=pdo_4d.so extension=bcmath.so extension=bz2.so extension=gd.so extension=pdo_4d.so extension=soap.so extension=wddx.so extension=zip.so PDO_4D description in phpinfo is : Version 0.1alpha (2009-02-19) Revision $Id: pdo_4d.c 50 2009-03-18 15:25:39Z splanquart $ mbstring description is : Reproduce code: --------------- <html><head><title>test 4D</title></head> <body> <h1>test 4D</h1> <pre> <?php try { $dbh = new PDO('4D:host=127.0.0.1;port=19812;charset=utf-8', 'SQL_User', 'SQL_Pwd'); if ($dbh) { $sth = $dbh->prepare("SELECT * FROM _USER_SCHEMAS"); $sth->execute(); echo 'Fetch all of the remaining rows in the result set' . PHP_EOL; $result = $sth->fetchAll(); print_r($result); } } catch (PDOException $e) { echo 'Error PDO : ' . $e->getMessage(); } catch (Exception $e) { echo 'Error PHP : ' . $e->getMessage(); } ?> </pre></body></html> Expected result: ---------------- The data resulting from the SQL request Actual result: -------------- No response from Apache to the HTTP request Apache Log : [Wed Apr 22 11:17:28 2009] [notice] child pid 97066 exit signal Trace/BPT trap (5) dyld: lazy symbol binding failed: Symbol not found: _fourd_init Referenced from: /usr/libexec/apache2/pdo_4d.so Expected in: dynamic lookup dyld: Symbol not found: _fourd_init Referenced from: /usr/libexec/apache2/pdo_4d.so Expected in: dynamic lookup