Results 1 to 3 of 3

Thread: PHP upgrade on a Frankenstein Linux

  1. #1

    Default PHP upgrade on a Frankenstein Linux

    Hi,

    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
    NAME=openSUSE
    VERSION="13.1 (Bottle)"
    VERSION_ID="13.1"
    PRETTY_NAME="openSUSE 13.1 (Bottle) (x86_64)"
    ID=opensuse
    ANSI_COLOR="0;32"
    CPE_NAME="cpe:/opensusepensuse:13.1"
    BUG_REPORT_URL="https://bugs.opensuse.org"
    HOME_URL="https://opensuse.org/"
    ID_LIKE="suse"

    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.

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,767
    Blog Entries
    14

    Default Re: PHP upgrade on a Frankenstein Linux

    Hi,

    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.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,114
    Blog Entries
    2

    Default Re: PHP upgrade on a Frankenstein Linux

    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).

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •