Fedora Linux Support Community & Resources Center
  #16  
Old 23rd April 2008, 05:37 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
I dont want to destroy the php that is setup already cos my website will stop working and I undoubtedly would have to pay the £200 or so for my host to rectify.

Would messing with the PHP cause anything catastrophic to happen?
Reply With Quote
  #17  
Old 23rd April 2008, 05:38 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
Quote:
Originally Posted by PabloTwo
Are you running those yum install commands on your local machine or on the server via ssh?
On the server via SSH (putty I use to login)
Reply With Quote
  #18  
Old 23rd April 2008, 05:44 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
http://redhat.download.fedoraproject...6-1.6.i386.rpm

Grab this package (matches the version of php-gd you already have), install to the same directory and run
[CODE}rpm -ivh php-5.1.6-1.6.i386.rpm php-gd-5.1.6-1.6.i386.rpm[/CODE]
These are not newer packages, but it'll test whether you need any more deps or not.
Reply With Quote
  #19  
Old 23rd April 2008, 05:47 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
STOP !!

If PHP is already installed on the server, first, find out what version.
Code:
 rpm -qa | grep -i php
Then we'll find the version of php-gd that matches and install that.
Reply With Quote
  #20  
Old 23rd April 2008, 05:53 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
Right heres what happened now

Code:
[root@server88-208-229-229 src]# rpm -ivh php-5.1.6-1.6.i386.rpm php-gd-5.1.6-1.6.i386.rpm
Preparing...                ########################################### [100%]
        file /usr/bin/php from install of php-5.1.6-1.6 conflicts with file from package php-5.1.6-1.2
        file /usr/bin/php-cgi from install of php-5.1.6-1.6 conflicts with file from package php-5.1.6-1.2
        file /usr/lib/httpd/modules/libphp5.so from install of php-5.1.6-1.6 conflicts with file from package php-5.1.6-1.2
Reply With Quote
  #21  
Old 23rd April 2008, 05:54 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
Sorry that messed up

again......

[root@server88-208-229-229 src]# rpm -ivh php-5.1.6-1.6.i386.rpm php-gd-5.1.6-1.6.i386.rpm
Preparing... ########################################### [100%]
file /usr/bin/php from install of php-5.1.6-1.6 conflicts with file from package php-5.1.6-1.2
file /usr/bin/php-cgi from install of php-5.1.6-1.6 conflicts with file from package php-5.1.6-1.2
file /usr/lib/httpd/modules/libphp5.so from install of php-5.1.6-1.6 conflicts with file from package php-5.1.6-1.2
Reply With Quote
  #22  
Old 23rd April 2008, 05:57 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
Just seen the STOP!

did your command heres the outcome


[root@server88-208-229-229 src]# rpm -qa | grep -i php
php-pdo-5.1.6-1.2
php-ldap-5.1.6-1.2
php-mysql-5.1.6-1.2
php-5.1.6-1.2
php-pear-1.4.9-1.2
[root@server88-208-229-229 src]#
Reply With Quote
  #23  
Old 23rd April 2008, 06:13 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
Might take a little time to find an exact match rpm package of php-gd for "php-gd-5.1.6-1.2".

I'm not sure why rpm is complaining, as it is really the same base version, only the "release" number is different. In the meantime, you could try,
Code:
 rpm -ivh --nodeps php-gd-5.1.6-1.6.i386.rpm
and see how it played.
Reply With Quote
  #24  
Old 23rd April 2008, 06:16 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
I did this dont know what it means though

[root@server88-208-229-229 src]# rpm -ivh --nodeps php-gd-5.1.6-1.6.i386.rpm
Preparing... ########################################### [100%]
1hp-gd ########################################### [100%]
[root@server88-208-229-229 src]#
Reply With Quote
  #25  
Old 23rd April 2008, 06:18 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
Here's a link to get the exact version match of php-gd that should make rpm happy.

ftp://ftp.wesmo.com/pub/Fedora/FC5/i...6-1.2.i386.rpm
Reply With Quote
  #26  
Old 23rd April 2008, 06:19 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
what do I do in putty then and where do i put this file?
Reply With Quote
  #27  
Old 23rd April 2008, 06:20 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
It means it was successfully installed

Probably won't need to last link version now, but grab it anyway just in case.

Do [/B]rpm -qa | grep -i php[/B] again to confirm.
Reply With Quote
  #28  
Old 23rd April 2008, 06:21 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
Quote:
Originally Posted by PabloTwo
Here's a link to get the exact version match of php-gd that should make rpm happy.

ftp://ftp.wesmo.com/pub/Fedora/FC5/i...6-1.2.i386.rpm
That link aint working pablo, its asking for a username and email
Reply With Quote
  #29  
Old 23rd April 2008, 06:21 PM
Mucker Offline
Registered User
 
Join Date: Apr 2008
Posts: 40
So what was successfully installed how will i know if it is or is working?
Reply With Quote
  #30  
Old 23rd April 2008, 06:24 PM
PabloTwo Online
"Registered User" T-Shirt Winner
 
Join Date: Mar 2007
Location: Seville, FL
Posts: 6,054
Code:
 rpm -q php-gd
will tell you if it's installed.
Is it working? How would I know?
Reply With Quote
Reply

Tags
fc5, phpgd, stuck, totaly

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Keyboard F10 totaly daft siyverts Hardware & Laptops 0 1st May 2009 10:29 AM
yum stuck ? Loki1950 Installation, Upgrades and Live Media 0 30th March 2009 11:18 PM
am I totaly hosed? Avix Using Fedora 15 30th December 2008 06:07 PM
I am stuck please help!!! Lunixnoob Using Fedora 4 12th April 2008 03:48 AM
Stuck between FC4 and FC5 nasht EOL (End Of Life) Versions 4 28th April 2006 08:53 AM


Current GMT-time: 02:19 (Thursday, 24-07-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat