LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   problem updating php on FC6 (https://www.linuxquestions.org/questions/linux-newbie-8/problem-updating-php-on-fc6-818181/)

niteshnrv 07-05-2010 11:21 PM

problem updating php on FC6
 
i have php-5.1.6 installed on fedora core 6
and i want to upgrade it to php-5.2.5

i do yum update and got this:

[root@XYZ ~]# yum -y update php
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
Reading repository metadata in from local files
Could not find update match for php
No Packages marked for Update/Obsoletion


is there any other way to update to php-5.2.5

Thanks,
Nitesh.

blue_print 07-05-2010 11:42 PM

FC6 is EOFL (End Of Life). You will have to upgrade PHP manually using RPMS. you can download RPMs at http://rpm.pbone.net/index.php3

niteshnrv 07-07-2010 10:46 AM

thanks for the earliest reply.

i am new to linux. can you please help me how to upgrade it manually and which rpm to choose.

these are the steps i followed:

# rpm -Uvh php-5.3.2-2.fc6.remi.i386.rpm
bit i get the following error :

warning: php-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-cli = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php = 5.1.6-3 is needed by (installed) php-ldap-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-pdo-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-mysql-5.1.6-3.i386

i also tried to install php-cli and php-common but the result was same with error

warning: php-common-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-common = 5.1.6-3 is needed by (installed) php-cli-5.1.6-3.i386
php-common = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386


warning: php-cli-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, keyID 00f97f56
error: Failed dependencies:
libedit.so.0 is needed by php-cli-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-cli-5.3.2-2.fc6.remi.i386
php-cli = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386

do i need to first uninstall the current php??

TB0ne 07-07-2010 11:02 AM

Quote:

Originally Posted by niteshnrv (Post 4026411)
thanks for the earliest reply.
i am new to linux. can you please help me how to upgrade it manually and which rpm to choose.

these are the steps i followed:
# rpm -Uvh php-5.3.2-2.fc6.remi.i386.rpm
bit i get the following error :

warning: php-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-cli = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-5.3.2-2.fc6.remi.i386
php = 5.1.6-3 is needed by (installed) php-ldap-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-pdo-5.1.6-3.i386
php = 5.1.6-3 is needed by (installed) php-mysql-5.1.6-3.i386

i also tried to install php-cli and php-common but the result was same with error

warning: php-common-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
error: Failed dependencies:
php-common = 5.1.6-3 is needed by (installed) php-cli-5.1.6-3.i386
php-common = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386


warning: php-cli-5.3.2-2.fc6.remi.i386.rpm: Header V3 DSA signature: NOKEY, keyID 00f97f56
error: Failed dependencies:
libedit.so.0 is needed by php-cli-5.3.2-2.fc6.remi.i386
php-common = 5.3.2-2.fc6.remi is needed by php-cli-5.3.2-2.fc6.remi.i386
php-cli = 5.1.6-3 is needed by (installed) php-5.1.6-3.i386

do i need to first uninstall the current php??

No, but you do need to install all the dependencies. Download them all manually, and install/upgrade them one by one. You will also have to do that for all THEIR dependencies too.

FC6 is very, VERY old. You are upgrading a system that has numerous, well known security vulnerabilities, no patches available for it, and no upgrades available for it. Best thing for you to do, is to do a fresh install of the latest Fedora, which is 13.

rsciw 07-07-2010 11:02 AM

most likely you will have to remove all current php installations, as they will cause dependency errors.

Better suggestions is however to install the latest Fedora, as FC6 is, as blue_print already mentioned, at End Of Life.

John VV 07-07-2010 02:49 PM

is this on a server ? and is it Godaddy ??

fedora 6 is dead .
i would use RHEL 5.5 and buy it or install CentOS 5.5

if Godady use the power of your cash and MOVE to a different host.

niteshnrv 07-08-2010 10:25 PM

Thanks to you all for your help and reply...

i uninstall the current php version and then manually installed latest version php-5.3.2-2 and all its dependencies one by one

and it worked for me...

now i have another problem, i do this all to upload a drupal-6 site on my server which is developed on another server.
i copied the code and database and move it to my server. every thing was looking fine. i am able to access the main page but not any other links or content on the main page. the error coming is 'This link appears to be broken'

is this due to the unstable version of php or something else. the site is working fine at my windows desktop with XAMPP.


All times are GMT -5. The time now is 08:18 PM.