Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.