Giter Site home page Giter Site logo

Comments (3)

razor-x avatar razor-x commented on July 3, 2024

This will also enable mcrypt:

$ sudo php5enmod mcrypt

If the intended behaviour of the module recipe is to install, but not enable the module, then I guess this is working as intended. However, as-is, the phpmyadmin cookbook includes the mcrypt recipe and I can only assume it should also enable it.

Maybe this cookbook should provide a LWRP interface to php5enmod and php5dismod. There was a COOK issue about this from last year (for the opscode php cookbook), but it went unnoticed and they have since moved to the GitHub issue tracker (it didn't seem to transfer over).

from chef-php.

priestjim avatar priestjim commented on July 3, 2024

I updated the source to automatically run php5enmod when installing a new module. It's a naive approach but you're most welcome to enhance with php5enmod/dismod LWRPs and more elegant package name declaration.

from chef-php.

razor-x avatar razor-x commented on July 3, 2024

Thanks. I'm fine with this solution for now. The php5enmod/dismod scripts exit with 0 status regardless of whether the module is already enabled/disabled. If I had some extra time I would look at working on a clean LWRP solution for this, but I'm currently too busy.

from chef-php.

Related Issues (9)

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.