Posted by Theal on 03/29/05 05:27
----- Original Message -----
From: "theal" <theal@pace2020.com>
To: <php-general@lists.php.net>
Sent: Saturday, March 26, 2005 3:41 PM
Subject: [PHP] gd graphics on debian with apache 1.3
I am trying to get Dashboard graphics working on a Debian woody system. I
have the following php packages installed:
ii php4 4.1.2-7.0.1 A server-side, HTML-embedded scripting
langu
ii php4-cgi 4.1.2-7.0.1 A server-side, HTML-embedded scripting
langu
ii php4-gd2 4.1.2-2 GD module (with GD2) for php4
ii php4-pgsql 4.1.2-4 PostgreSQL module for php4
the error I am getting is
Fatal error: Call to undefined function: gd_info() in
/var/www/html/dashboard/test_setup.php on line 29
php.ini has extensions set up as:
extension_dir=/usr/lib/php4/20010901/
extension=pgsql.so
extension=gd.so
ls -l /usr/lib/php4/20010901/
lrwxrwxrwx 1 root root 23 Mar 26 14:23 gd.so ->
/usr/lib/libgd.so.2.0.1
-rw-r--r-- 1 root root 95036 Mar 17 2002 gd.so.orig
lrwxrwxrwx 1 root root 23 Mar 25 20:27 libgd.so.2.0.1 ->
/usr/lib/libgd.so.2.0.1
-rw-r--r-- 1 root root 41412 Mar 31 2002 pgsql.so
the line in the script that is failing:
<?php
echo "Here is the dump [";
var_dump(gd_info());
echo "] end of dump.";
?>
[Back to original message]
|