LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 02-28-2008, 11:11 PM   #1
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Rep: Reputation: 56
About PHP-GD package


Hi folks,


Ubuntu 7.04 server amd64


I'm prepared creating graphic on php. According to "Image Functions";
http://www.php.net/manual/en/ref.image.php

I need to install GD library. On running;
$ apt-cache search gd | grep php
Code:
libphp-phplot - The graphic library for PHP
php-image-canvas - Image_Canvas module for PEAR
php-image-graph - Image_Graph module for PEAR
php5-gd - GD module for php5
Please advise which package shall I install. TIA


B.R.
satimis
 
Old 02-28-2008, 11:20 PM   #2
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
My guess is php5-gd, but this may just be the interface and you may require gd as well I think.
 
Old 02-29-2008, 05:38 AM   #3
satimis
Senior Member
 
Registered: Apr 2003
Posts: 3,695

Original Poster
Rep: Reputation: 56
Quote:
Originally Posted by billymayday View Post
My guess is php5-gd, but this may just be the interface and you may require gd as well I think.
Hi billymayday,


Thanks for your advice.


I think php5-gd is a GD module for php5;
http://pdb.finkproject.org/pdb/package.php/php5-gd


It is already running on the PC;

$ apt-cache policy php5-gd
Code:
php5-gd:
  Installed: 5.2.1-0ubuntu1.5
  Candidate: 5.2.1-0ubuntu1.5
  Version table:
 *** 5.2.1-0ubuntu1.5 0
        500 http://us.archive.ubuntu.com feisty-updates/main Packages
        500 http://security.ubuntu.com feisty-security/main Packages
        100 /var/lib/dpkg/status
     5.2.1-0ubuntu1 0
        500 http://us.archive.ubuntu.com feisty/main Packages

GD library package should be in the form of "gd-xxxxxx"
http://www.libgd.org/releases/


I can't find it on repo


Edit:

I'm confused here;

On browser running;
Code:
phpinfo()
It brings up the "phpinfo" page;

http://hk2.php.net/phpinfo


But I can't find GD library there.



B.R.
satimis

Last edited by satimis; 02-29-2008 at 06:15 AM. Reason: Correction
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP package problem taduikis Slackware 2 12-01-2007 01:04 AM
PHP5 Upgrade Error: Missing Dependency: php = 4.3.x is needed by package php-pear vsystems Linux - Server 1 05-02-2007 07:17 AM
php package for website ankit_mcgill Linux - Software 1 09-12-2005 12:24 PM
Apache,PHP and PostgreSQL in a package Boby Linux - Software 1 03-29-2005 06:21 PM
PHP Package creation failure datadriven Slackware 4 12-31-2003 07:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 06:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration