LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-06-2006, 12:36 AM   #1
mrgenius
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
php upgrade on redhat 9?


Dear all

I am running redhat 9 having php installd via php_4.2.2-17.12.legacy_i386.rpm.
It has GD 1.6 support present. Now i wanna run php application which needs GD 2 or higher.

NOw i am unable to find on internet rpms of php-gd 4.2.2

Can any one tell me what can be the possible solutions now??

how can i get php-gd 2 support??


waiting


Regards.
 
Old 01-10-2006, 02:11 AM   #2
rylan76
Senior Member
 
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,552

Rep: Reputation: 103Reputation: 103
Hi

Your best bet would be to download the latest PHP version as source and GD as source as well and compile them yourself.

Make sure you configure and compile GD with

./configure --with-jpeg=/usr/lib/libjpeg.a

so it will have JPEG support. Them, configure and compile PHP with

./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/local/mysql --with-apache2 --with-config-file-path=/usr/local/lib --with-gd

You should then have PHP with GD support.
 
  


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 Upgrade z_darius Mandriva 3 03-29-2005 07:10 AM
upgrade php from 4.3.2 to 5 pelegk2 Linux - Software 1 10-10-2004 09:37 AM
PHP upgrade Damiand Linux - Newbie 0 06-07-2004 06:31 PM
Redhat 7.3 PHP 4.3.4 "upgrade" not compiling fatbaldbob Red Hat 0 03-02-2004 04:40 PM
Upgrade php 4.2.x to 4.3.x buzzbuzz Linux - Newbie 0 10-30-2003 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:42 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