Install PHP 5.5 or greater

Issues related to applications and software problems
Post Reply
rockislife
Posts: 2
Joined: 2018/05/18 20:15:37

Install PHP 5.5 or greater

Post by rockislife » 2018/05/18 20:18:09

So im trying to setup a web app that needs PHP version 5.5 or greater. When I did the yum installation for PHP, It only got me to PHP version 5.4.16. Is there any way to get a newer version of PHP?

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Install PHP 5.5 or greater

Post by TrevorH » 2018/05/18 20:50:16

Several ways if the app really does need a version higher than the 5.4.16 that we ship. You can use IUS (which supplies differently named packages that cannot co-exist with the distro versions) or you can use SCL (which supplies packages that can be installed in parallel both with each other and with the distro versions. Some people prefer one, others the other. For a non-biased write-up of various methods to get newer packages on CentOS please see https://www.hogarthuk.com/?q=node/15
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

rockislife
Posts: 2
Joined: 2018/05/18 20:15:37

Re: Install PHP 5.5 or greater

Post by rockislife » 2018/05/19 19:26:13

Would There be a way to get PHP 7? If I can get PHP 7 then that can be very benificial.

User avatar
TrevorH
Site Admin
Posts: 33218
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Install PHP 5.5 or greater

Post by TrevorH » 2018/05/19 21:15:24

If you read the link in my last post, then both IUS and SCL have php up to 7.2 available. So does Remi. Which one you pick depends on your requirements so read the article and then decide which one suits you best.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply