CentOS Linux 6.8 - Things starting to get old....

9 posts / 0 new
Last post
#1 Sun, 08/28/2016 - 17:07
paul.kelly

CentOS Linux 6.8 - Things starting to get old....

Joomla & WP/Woocommerce are starting to report things like php & mysql are getting a bit dated.

I have already updated PHP (to 5.4.45 and even this is old.

Any suggestions on how to bring forward and future proof at least for a few months?

Sun, 08/28/2016 - 17:42
andreychek

Howdy,

It shouldn't be a problem to use older PHP and MySQL versions with WordPress -- though they may be warning you just to make sure that you aren't experiencing any security related issues.

However, the versions of PHP and MySQL that come with CentOS receive security updates, so as long as they're kept up to date that shouldn't be a concern.

Are you experiencing any problems of any sort with WordPress support for the software versions you have there?

-Eric

Tue, 08/30/2016 - 13:34
unborn
unborn's picture

Hi Paul, - yeah - how about to try another distro.. aka debian or something else?

Configuring/troubleshooting Debian servers is always great fun

Thu, 09/01/2016 - 15:55
paul.kelly

Not experience problems (well, no more than usual1), but warnings are popping up, as templates,/themes and plugins/components for Joomla & Wp are added/updated.

I would rather not use another distro as Centos is what I am used to and it generally works very well!

Fri, 09/02/2016 - 06:59
applejack

You can run multiple versions of PHP on Centos 6, I'm running 5.4+, 5.5+ and 5.6+ as well as updating MySQL to version 5.5 or 5.6

https://www.virtualmin.com/documentation/web/multiplephp

Fri, 09/02/2016 - 07:07
paul.kelly

I am already running a couple versions of PHP and could upgrade that, but these are not 'approved' distribution versions, as with MySQL.!

Fri, 09/02/2016 - 07:27
applejack

These other versions of PHP run separately and so do not affect the main install, for each virtual site you can choose which version to use. I've been running MySQL 5.5 on my current server for 9 months without any issues.

Fri, 09/02/2016 - 07:32
paul.kelly

I appreciate that - as mentioned, I am running a couple php versions at the moment!

I do remember adding a second php was a pain, though!

I think I might just have to try my luck!

Fri, 09/02/2016 - 07:45
applejack

It takes a couple of minutes if you can use the command line

INSTALLING PHP 5.5 ON CENTOS 6

yum install scl-utils
rpm -Uvh https://www.softwarecollections.org/repos/rhscl/php55/epel-6-x86_64/noarch/rhscl-php55-epel-6-x86_64-1-2.noarch.rpm

yum install php55 php55-php-mysqlnd

rpm -Uvh https://www.softwarecollections.org/repos/remi/php55more/epel-6-x86_64/noarch/remi-php55more-epel-6-x86_64-1-2.noarch.rpm

yum install php55-php-mcrypt*

Please check the source versions before doing this and afterwards remember to disable these repos in /etc/yum.repos.d/

Topic locked