Updating php from 5.3.3 to 5.3.9
Updating php from 5.3.3 to 5.3.9
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.
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.
Re: Updating php from 5.3.3 to 5.3.9
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.
Re: Updating php from 5.3.3 to 5.3.9
And how to update centos without interrupting the web service for too long a time? The server is a VPS and is in production.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.
Re: Updating php from 5.3.3 to 5.3.9
Get new VPS. Install, configure. Then migrate and shut down old server.
Over And Out
MoonWolf
MoonWolf
Re: Updating php from 5.3.3 to 5.3.9
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).MoonWolf wrote:Get new VPS. Install, configure. Then migrate and shut down old server.
-
- Posts: 10642
- Joined: 2005/08/05 15:19:54
- Location: Northern Illinois, USA
Re: Updating php from 5.3.3 to 5.3.9
A new release only comes out every 5 years or so.
There is no upgrade from one release to another, especially when "strongly personalized".
There is no upgrade from one release to another, especially when "strongly personalized".
Re: Updating php from 5.3.3 to 5.3.9
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.
Only 5.3.3 official centos packages are maintained.
Re: Updating php from 5.3.3 to 5.3.9
Unfortunately Joombla SubiPro component requests 5.3.9 proper.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.