PHP upgrade on a Frankenstein Linux


I’ve got a Linux System installed by a supporting person a while ago. Unfortunately I cannot reach out to the person to ask for more specific on the the install. As I’m considering to jump from this hosted machine to another one within the next 12 month, I do not want to touch the entire installation anyways for now. However, Wordpress needs to be updated and asks me to update my PHP first. When check the OS release it tells me it is 13.1
cat /etc/os-release
VERSION=“13.1 (Bottle)”
PRETTY_NAME=“openSUSE 13.1 (Bottle) (x86_64)”

The Zapper repositories are a bit weird, since it tells me 13.1 as a the alias, but 13.2 as the name.
zypper lr

| Alias | Name | Enabled | Refresh

1 | devel_languages_python_Factory | Development versions of Python interpreters and other stuff (openSUSE_13.2) | No | Yes
2 | openSUSE 13.1 | openSUSE 13.2 | Yes | Yes
3 | openSUSE 13.1 Update | openSUSE 13.2 Update | No | Yes
4 | openSUSE 13.1 non oss | openSUSE 13.2 non oss | Yes | Yes

From this repository php5 is 5.6.1
zypper if php5
Loading repository data…
Reading installed packages…

Information for package php5:

Repository: openSUSE 13.2
Name: php5
Version: 5.6.1-1.1
Arch: x86_64
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 10.0 MiB
Summary: PHP5 Core Files

Is there a simple method to get my php5 updated to 5.6.2?
I’m quite a noob in managing packages on Linux …

Thanks in advance.


To answer all your questions in one go: Don’t even try. This system install is very outdated, and needs to be upgraded to the latest stable version. That will also bring you a more recent php and solve your Wordpress issue. Given the fact that you run a website on it, any other way would mean an insecure webserver.

Agreeing with Knurpht,

IMO you should start with whatever services your Provider provides for your hosted system… Can/would your Provider set up a full,working Wordpress on openSUSE system for you, or would you have to build the system yourself? Then, would your Provider be able/willing to provide migration services from your existing to your new hosted machine or would you have to do that yourself?

And, perhaps before anything else,
I’d also recommend taking a look at what kind of website is running…
If the website doesn’t require Users to login, then you might consider migrating the website to a static website which doesn’t use a database backend, your solution might be very easy and wouldn’t require require difficult website upgrading and data migration (You’d only have to do system replacement which might be trivial).