Git Product home page Git Product logo

Comments (3)

geerlingguy avatar geerlingguy commented on June 16, 2024

@gheydon - The only difficulty is it's really hard to support older versions when using any of the repositories with modern versions, mostly because all the way up the chain, nobody really wants to support really old versions.

The best solution if not using Drupal VM would be to not use this role, but to use the PHP role directly, and use the system PHP packages, which include PHP 5.5.x (Ubuntu 14.04) or PHP 5.3.x (CentOS 6). I think you could even get 5.4.x if using system packages on CentOS 7.

I don't think I'll be able to add support for < 5.6 on Drupal VM though, just because it would be a lot of extra work to make it possible to use [5.6|7.0|7.1] and any other older version.

It's already difficult enough to support both 5.6 and 7.1 :)

from ansible-role-php-versions.

geerlingguy avatar geerlingguy commented on June 16, 2024

Actually, come to think of it, you may be able to hack around the variables this role defines (e.g. php_packages) and use an OS with a reasonably-old default version (e.g. CentOS 6 or 7), and get the version you need using system packages.

Definitely not supported, but it should work. You can find the package names (most are the same on the CentOS / RHEL side) by searching internet tutorials for 'install PHP on CentOS [version]'

from ansible-role-php-versions.

gheydon avatar gheydon commented on June 16, 2024

I have been looking a bit more, and found that we can build from source, but it is having some problems with the build dependencies. ie. bison needs to be version 2.7 not 3.0 so for 5.5 (i think at this stage) installing the correct version of bison and then building would work. You could then just have some docs which contains the variables that need to be added to the config to get it going. But this would be more a drupalvm docs addition but there is some work that would need to be done with ansible-role-php to allow it, and then the docs additions for installing different versions of php and different os's

from ansible-role-php-versions.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.