ID: 48614 Comment by: koubel at volny dot cz Reported By: kaspernj at gmail dot com Status: Assigned Bug Type: PDO related Operating System: Ubuntu Jaunty PHP Version: 5.3.0RC4 Assigned To: scottmac New Comment:
yes, same problem with php 5.3.0 final instalation on debian stable Previous Comments: ------------------------------------------------------------------------ [2009-07-09 18:18:07] dkepplinger at gmail dot com I have the same problem with PHP 5.3 on Debian 5.0.2 when loading the pdo_sqlite.so extension in the config file. ------------------------------------------------------------------------ [2009-06-23 07:18:49] dominics at gmail dot com I can reproduce this bug (Debian Lenny) with the following minimal configure line: ./configure --with-zlib --enable-pdo=shared --with-sqlite=shared --with-pdo-sqlite=shared For now, not building PDO as shared seems to be a workaround. ------------------------------------------------------------------------ [2009-06-20 16:41:46] kaspernj at gmail dot com "sqlite3.so" loads fine. It does not help to load "pdo_sqlite.so" afterwards though - getting the exact same error. Here is what I did: #!/opt/php53/bin/php <?php dl("gd.so"); dl("sqlite3.so"); dl("pdo.so"); dl("pdo_sqlite.so"); echo("Hejsa\n"); ?> ------------------------------------------------------------------------ [2009-06-20 16:35:43] scott...@php.net If you load sqlite3.so first does it work? ------------------------------------------------------------------------ [2009-06-20 13:19:49] kaspernj at gmail dot com Thank you for responding. I used the following configure-line: ./configure --with-mysql=shared --with-gd=shared --with-pgsql=shared --enable-pcntl=shared --with-gettext=shared --with-mysqli=shared --with-imap=shared --with-mcrypt=shared --with-kerberos --with-imap-ssl --with-sqlite=shared --enable-sockets=shared --with-pdo-mysql=shared --with-pdo-sqlite=shared --enable-ftp=shared --enable-pdo=shared --with-pdo-pgsql=shared --enable-sockets=shared --enable-cli --disable-cgi --prefix=/opt/php53 --with-ldap=shared --with-pear=shared --disable-debug --with-bz2=shared --with-iconv=shared --with-regex=shared --enable-xml=shared --enable-dom=shared --with-xmlrpc=shared --with-mhash=shared --with-unixODBC=shared,/usr --enable-mbstring=shared --enable-xmlreader=shared --with-sqlite3=shared ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/48614 -- Edit this bug report at http://bugs.php.net/?id=48614&edit=1