Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

  1. #11
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,321
    Blog Entries
    14

    Default Re: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

    IIRC, I had php5 and php7 alongside eachother on Tumbleweed for a while. But, php5 is considered dead now, and php7.2 is the current stable.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  2. #12

    Default Re: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

    Quote Originally Posted by momic View Post
    I need php7.1 for local development and personal projects that rely on php7.1

    Tumbleweed has no officially supported php7.1 repos, and even Leap(LTS) 15/42.3 has only experimental php7.1 repo but it does not cover all packages (like php7-redis and php7-intl for example). I was able to install from them on Tumbleweed but since my code depends on php7-redis and php7-intl I couldn't do much without building it from source. I know I could use virtualization for development like vagrant/docker, but wouldn't it be better to have option of multiple php versions side by side? But I guess openSuSE does not have proper naming of packages to support that. On the other hand other distros gives you option to install multiple versions of php with proper package naming from many community repos.


    openSuSE gives you maintenance support up to 3 years for Leap.
    Leap 15.0 - is expected to be maintained until end of November 2019
    Leap 42.3 - is expected to be maintained until June 30 2019
    So up to one year left and with experimental repos for php7.1 it does not provide enough trust and confidence to use it.
    To be more specific, reason why I need 7.1 instead of 7.2, is because of Laravel framework issue and other vendor packages issues with php7.2
    https://github.com/laravel/framework/issues/20248

  3. #13

    Default Re: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

    Quote Originally Posted by Knurpht View Post
    IIRC, I had php5 and php7 alongside eachother on Tumbleweed for a while. But, php5 is considered dead now, and php7.2 is the current stable.
    Yes, but I'm talking about installation of different minor versions alongside eachother like: php7.0, php7.1 and php7.2 for development purposes. You can adapt your code for php7.2 but not of other vendors. So php7.1 is still needed. Like here:
    https://www.tecmint.com/install-diff...ons-in-ubuntu/

  4. #14
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,321
    Blog Entries
    14

    Default Re: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

    Quote Originally Posted by momic View Post
    Yes, but I'm talking about installation of different minor versions alongside eachother like: php7.0, php7.1 and php7.2 for development purposes. You can adapt your code for php7.2 but not of other vendors. So php7.1 is still needed. Like here:
    https://www.tecmint.com/install-diff...ons-in-ubuntu/
    Valid. You can file a bug report against Tumbleweed for this but given it's a rolling release, that moves fast, I don't think the packagers are eager to maintain older versions, specially not with projects like php.
    But, using the credentials you have here you could login on build.opensuse.org, setup a Tumbleweed repo and branch all the packages in http://download.opensuse.org/reposit...USE_Leap_15.0/ and see if they build for Tumbleweed. You could even install osc ( the openSUSE Buildserver ) and build them locally

    But in your a case I wouldn't go for Tumbleweed, but for Leap instead. Simply because it already has a php71 repo.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  5. #15

    Default Re: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

    I would recall this thread because I have a similar problem. Tumbleweed seems to keep track only of the latest released php version.
    I requested zypper to install php7 and I got installed 7.3.2 without any chance to opt for a minor version.

    As well as op I have framework dependencies which do not support the latest release oh php.

    Unfortunately this is a breaking point for me as I cannot work properly with just one php version (which also will get updated in time, so it will change during development).

    AFAIK this is not going to change so, unfortunately, I think I'm gonna need a different distro to work

  6. #16
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,871
    Blog Entries
    2

    Default Re: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

    Quote Originally Posted by leggy View Post
    I would recall this thread because I have a similar problem. Tumbleweed seems to keep track only of the latest released php version.
    I requested zypper to install php7 and I got installed 7.3.2 without any chance to opt for a minor version.

    As well as op I have framework dependencies which do not support the latest release oh php.

    Unfortunately this is a breaking point for me as I cannot work properly with just one php version (which also will get updated in time, so it will change during development).

    AFAIK this is not going to change so, unfortunately, I think I'm gonna need a different distro to work
    What you're describing is a basic consideration when deciding whether to install Tumbleweed or LEAP, it's fully documented and discussed in many places that TW is for people who want the bleeding edge in everything, and to be on the bleeding edge all the time means constant changes.

    Your options aside from a re-installation include
    - Installing what you want, and then freezing those packages
    - Installing important LOB type apps in, and deploying in a virtual machine(running LEAP or other distro that doesn't change constantly).
    - Using Docker containers

    Each of the above options give you full control over whether anything related to the app is updated or not.
    Be wary though that you may not get automatic security patches, you won't want to fall into a trap similar to all the victims of Struts exploits recently.

    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!

  7. #17
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,788

    Default Re: php7 is only available whith version 7.2 and i don't find way to install 7.1 version

    Quote Originally Posted by leggy View Post
    I would recall this thread because I have a similar problem.
    Well, you got an answer from a very active and knowing member, so there are people who found this your recall. But I do not think it is the best thing for you to do.

    Not many people will check if old threads gete a new post after so many months. And this will of course also not show up in the list of new threads. Thus what you do here might not be the most effective way of drawing attention to your problem.
    Henk van Velden

Page 2 of 2 FirstFirst 12

Posting Permissions

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