PHPLIB and 4.0.2

From: Date: Thu, 31 Aug 2000 07:05:06 +0000
Subject: PHPLIB and 4.0.2
Groups: php.general 
Request: Send a blank email to php-general+get-14528@lists.php.net to get a copy of this message
Hi, After upgrading from php 4.0.1pl2 to 4.0.2 my phplib-applications which use MySQL as the database-backend stopped working. Sessions "kind-of-work" but every page_close(); causes the following error: (The error is from IMP 2.2.0pre12 with it's own phplib - the same thing occures with "stock" phplib 7.2b) Database error (HordeDB): Invalid SQL: insert into active_sessions ( sid, name, val, changed ) values ('bec1f1a70531534be12d70f56883d4ad','HordeSession','base64:JHRoaXMtPmluID0gJ yc7ICR0aGlzLT5wdCA9IGFycmF5KCk7IA==','20000829152851') Database error (HordeDB): Session: freeze() failed. Same phplib with PostgreSQL works fine. I thought I'd ask if anyone has had similiar problems - does upgrading to phplib 7.2c fix the problem? What about IMP? Has 2.2.0 final working phplib? Downgrading back to 4.0.1pl2 fixed the problem but I would like to upgrade ;) Other pretty unrelated problem is GD - I have GD1.3 (the stock RedHat RPM, I need GIF-support) and I hasn't compiled since 4.0.0 - I have used copying the ext/gd -files from 4.0.0 distribution as a workaround but is there a cleaner way? The compile fails like this: gd.c: In function `php_if_imagecreatefromgif': gd.c:500: `gdImageCreateFromGif' undeclared (first use in this function) gd.c:500: (Each undeclared identifier is reported only once gd.c:500: for each function it appears in.) gd.c: In function `php_if_imagegif': gd.c:657: `gdImageGif' undeclared (first use in this function) make[3]: *** [gd.lo] Error 1 make[3]: Leaving directory `/webroot/files/php-4.0.2/ext/gd' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/webroot/files/php-4.0.2/ext/gd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/webroot/files/php-4.0.2/ext' make: *** [all-recursive] Error 1 -Kari

« previous php.general (#14528) next »