Updating php from 5.3.3 to 5.3.9

Issues related to software problems.
Post Reply
fbartolom
Posts: 31
Joined: 2014/05/14 15:23:52
Contact:

Updating php from 5.3.3 to 5.3.9

Post by fbartolom » 2015/01/29 14:07:47

In order to try and install Joomla component sobipro, I need to update the php version from 3.3 to 3.9. I tried following several tutorials with assorted results. In particular I tried executing:

sudo rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
sudo yum --enablerepo=webtatic update php
but I got an error by which I missed the appropriate curl library suggesting me to either install it or execute the command with --skip-broken

I tried the former with:

sudo yum install libcurl libcurl-devel
But it still complained it could not find the library. So I ended up using the --skip-broken option with:

sudo yum --enablerepo=webtatic --skip-broken update php
with success, but the php version remained the old one.

Moreover if I now repeat command:

sudo yum --enablerepo=webtatic update php
I do not even find errors and the command terminates with:

1691 packages excluded due to repository priority protections
No Packages marked for Update

without doing anything.

The server is in production and so I would rather not remove php to make experiments. Is there a safe way to upgrade it? And how?

Thanks.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Updating php from 5.3.3 to 5.3.9

Post by avij » 2015/01/29 14:17:08

I would honestly suggest looking into switching to a newer CentOS version, probably on a new server. CentOS 7 has php 5.4.16 out of the box.

fbartolom
Posts: 31
Joined: 2014/05/14 15:23:52
Contact:

Re: Updating php from 5.3.3 to 5.3.9

Post by fbartolom » 2015/01/29 14:33:05

avij wrote:I would honestly suggest looking into switching to a newer CentOS version, probably on a new server. CentOS 7 has php 5.4.16 out of the box.
And how to update centos without interrupting the web service for too long a time? The server is a VPS and is in production.

User avatar
MoonWolf
Posts: 81
Joined: 2013/11/07 10:31:59

Re: Updating php from 5.3.3 to 5.3.9

Post by MoonWolf » 2015/01/29 17:58:06

Get new VPS. Install, configure. Then migrate and shut down old server.
Over And Out
MoonWolf

fbartolom
Posts: 31
Joined: 2014/05/14 15:23:52
Contact:

Re: Updating php from 5.3.3 to 5.3.9

Post by fbartolom » 2015/01/30 07:33:00

MoonWolf wrote:Get new VPS. Install, configure. Then migrate and shut down old server.
Ok, next suggestion...?! I have my strongly pesonalized VPS on Crissic and opening a new VPS each time a new release of CentOS comes out would be a huge burden both in terms of time and cost. Or there is a way to move all the server configuration from one server to the other automatically (that would probably only imply a cost issue).

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Updating php from 5.3.3 to 5.3.9

Post by gerald_clark » 2015/01/30 07:47:13

A new release only comes out every 5 years or so.
There is no upgrade from one release to another, especially when "strongly personalized".

User avatar
remirepo
Posts: 447
Joined: 2014/09/21 09:07:12
Location: France
Contact:

Re: Updating php from 5.3.3 to 5.3.9

Post by remirepo » 2015/01/30 08:37:59

As PHP 5.3 is EOL you won't find any repository provided a maintained (secured) PHP 5.3 version.

Only 5.3.3 official centos packages are maintained.
Remi's Repository - Forum - Blog

fbartolom
Posts: 31
Joined: 2014/05/14 15:23:52
Contact:

Re: Updating php from 5.3.3 to 5.3.9

Post by fbartolom » 2015/01/30 10:09:53

remirepo wrote:As PHP 5.3 is EOL you won't find any repository provided a maintained (secured) PHP 5.3 version.

Only 5.3.3 official centos packages are maintained.
Unfortunately Joombla SubiPro component requests 5.3.9 proper.

Post Reply