PHP 4.0 Bug #8021 Updated: Berkeley db2 gets driver initialization failed error

From: Date: Wed, 29 Nov 2000 23:00:30 +0000
Subject: PHP 4.0 Bug #8021 Updated: Berkeley db2 gets driver initialization failed error
Groups: php.dev 
Request: Send a blank email to php-dev+get-39647@lists.php.net to get a copy of this message
ID: 8021 Updated by: sniper Reported By: gtc@cheshirelaw.com Status: Closed Bug Type: DBM/DBA related Assigned To: Comments: This is no bug in PHP. The user id which Apache is run with doesn't have write access to the current directory. Try using some path you know it does have write access to. Contact your ISP for more info. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-28 19:56:11] gtc@cheshirelaw.com This is a PHP setup on my ISP, so I don't have root access. PHP reports configure command as: './configure' '--with-apxs=/usr/apache/sbin/apxs' '--enable-versioning' '--with-mysql=/usr/local/mysql' '--enable-track-vars' '--enable-safe-mode' '--with-exec-dir=/big/dom/PHP_bin' '--enable-magic-quotes' '--enable-memory-limit' '--enable-sysvsem' '--enable-sysvshm' '--with-gd=/usr/gd-with_gif' '--with-zlib=/usr/lib' '--enable-bcmath' '--enable-inline-optimizations' '--with-ttf' '--with-xml' '--with-db2' dba is shown as: "V1 ($Id: dba.c,v 1.21 2000/07/13 18:44:57 eschmid Exp $) db2" dba_open("testdb", "n", "db2") with any option for opening the db gets a Warning: driver initialization failed in [test/index.php] on line 30, dba_open failed error. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8021

« previous php.dev (#39647) next »