It seems that I've somehow lost the ability to load the php5-gd library
into apache on my more or less -current box, even though I've installed
the package and made the link as instructed when I installed the package.
A page that pulls php_info() doesn't show gd at all, and if I tack a
call to gd_info() to that script the whole thing fails with a function
not found error.
When I start or re-start apache I do not get any errors, but when I run
a scrip from the cli I get this:
PHP Warning: PHP Startup: Unable to load dynamic library
'/var/www/lib/php/modules/gd.so' - Cannot load specified object in
Unknown on line 0
even though that file lives at that specific location:
[EMAIL PROTECTED]:/var/www/openvistas $ ls -al /var/www/lib/php/modules/
total 10096
drwxrwxr-x 2 www cvs 512 May 17 14:27 .
drwxrwxr-x 3 www daemon 512 Sep 28 2005 ..
-rwxr-xr-x 1 root cvs 4321568 Mar 1 2006 dpsearch.so
-r--r--r-- 1 root bin 468882 May 13 20:20 gd.so
-r--r--r-- 1 root bin 206391 Oct 9 2007 pgsql.so
-rwxr-xr-x 1 root daemon 100446 Nov 2 2007 xcache.so
Here is what I have installed php-wise:
[EMAIL PROTECTED]:/var/www/conf $ pkg_info -a | grep php
php5-core-5.2.5p3 server-side HTML-embedded scripting language
php5-extensions-5.2.5 informational package about PHP5 extensions
php5-gd-5.2.5 image manipulation extensions for php5
php5-pgsql-5.2.4 pgsql database access extensions for php5
I have not yet updated php5-pgsql because I have not yet updated
postgres to 8.3.1 but it still works just fine.
Any cluesticks would be greatly appreciated!
Thanks,
Jeff Ross