You are here: PHP4 trying to get gd graphics on debian with apache 1.3 « PHP « IT news, forums, messages
PHP4 trying to get gd graphics on debian with apache 1.3

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.";
?>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация