Linux - SoftwareThis 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
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.
Since I do not earn a living maintaining Linux, my knowledge is not very deep. Where I need help (the yum man is confusing for me), is understanding the use of other libraries.
* If I remove the Centos 7 version of php and run the above code and things do not work, can I go back to the original php (5.4) by
Code:
# yum install php
* Whould I have to "remove" any of the installed code in the above sequence?
* If the install goes properly (e.g. LAMP works), would
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
I'd suggest you upgrade to CentOS 7.4 and get the latest updates for it. While you stated you wish to setup a "home server", and the php package seems to have something to do with it, is this a web server you're trying to get setup?
To downgrade a package with yum, you would need to use the downgrade option. You can also use the yum history command as well.
Also, the php package is in the "base" repo, not the "epel" repo, from what I can see.
Yes, this is a home office server I use for testing web applications. Unfortunately, I crashed my server some weeks ago while doing an update (operator error). It was running fine since I installed Centos 7 over a year ago runing php and able to work on Concrete5 5.7 which requires php 5.6+.
Is Centos 7.4 an official release? I've done yum updates and the version of Centos is 3.10.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by rtcary
Yes, this is a home office server I use for testing web applications. Unfortunately, I crashed my server some weeks ago while doing an update (operator error). It was running fine since I installed Centos 7 over a year ago runing php and able to work on Concrete5 5.7 which requires php 5.6+.
Is Centos 7.4 an official release? I've done yum updates and the version of Centos is 3.10.
Todd
Yes, it is an official release, that you can download now. Are you saying you updated CentOS 3.10 ?
Also, while there's the "stock" version of the php package in the "base" repo, yes, you will need the "epel" repo for the php 5.6 package.
Packages skipped because of dependency problems:
pcre-devel-8.32-17.el7.x86_64 from base
php56u-5.6.34-1.ius.centos7.x86_64 from ius
php56u-bcmath-5.6.34-1.ius.centos7.x86_64 from ius
php56u-cli-5.6.34-1.ius.centos7.x86_64 from ius
php56u-common-5.6.34-1.ius.centos7.x86_64 from ius
php56u-devel-5.6.34-1.ius.centos7.x86_64 from ius
php56u-gd-5.6.34-1.ius.centos7.x86_64 from ius
php56u-intl-5.6.34-1.ius.centos7.x86_64 from ius
php56u-mbstring-5.6.34-1.ius.centos7.x86_64 from ius
php56u-mcrypt-5.6.34-1.ius.centos7.x86_64 from ius
php56u-mysqlnd-5.6.34-1.ius.centos7.x86_64 from ius
php56u-opcache-5.6.34-1.ius.centos7.x86_64 from ius
php56u-pdo-5.6.34-1.ius.centos7.x86_64 from ius
1:php56u-pear-1.10.5-1.ius.centos7.noarch from ius
php56u-pecl-jsonc-1.3.10-2.ius.centos7.x86_64 from ius
php56u-pecl-jsonc-devel-1.3.10-2.ius.centos7.x86_64 from ius
php56u-process-5.6.34-1.ius.centos7.x86_64 from ius
php56u-xml-5.6.34-1.ius.centos7.x86_64 from ius
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.