Giter Club home page Giter Club logo

Comments (6)

rfay avatar rfay commented on June 22, 2024 2

You're the expert here :) It's quite possible that the Drupal module either has a command-line approach that uses pcntl or it's just silly. I don't even know what pcntl is. I also don't know what rabbitmq is :)

from ddev-rabbitmq.

rfay avatar rfay commented on June 22, 2024 1

You would add a config.rabbitmq.yaml with

webimage_extra_packages: [php8.<x>-pcntl]`

Using that technique I don't know how to get the right PHP version without installing lots of them. As a custom Dockerfile (.ddev/web-build/Dockerfile.rabbitmq) it can use an environment variable $DDEV_PHP_VERSION, https://ddev.readthedocs.io/en/latest/users/extend/customizing-images/#adding-extra-dockerfiles-for-webimage-and-dbimage

from ddev-rabbitmq.

ochorocho avatar ochorocho commented on June 22, 2024

I was not aware of this requirement. Sounds like it makes sense to add this to webimage_extra_packages.

from ddev-rabbitmq.

ochorocho avatar ochorocho commented on June 22, 2024

According to the comment here, #1 (comment)

How to add a package to webimage_extra_packages? :-)

from ddev-rabbitmq.

ochorocho avatar ochorocho commented on June 22, 2024

Tested with these php version:

$ php8.1  -i | grep pcntl
pcntl
pcntl support => enabled

$ php8.2 -i | grep pcntl
pcntl
pcntl support => enabled

$ php8.3 -i | grep pcntl
pcntl
pcntl support => enabled

Seems like php8.x ships with pcntl enabled by default.

extension_loaded('pcntl') returns empty, and phpinfo() does not show pcntl enabled.
From what i read it is disabled for php-fpm.

Happy to enable it, if you can tell me just how? :-)

from ddev-rabbitmq.

ochorocho avatar ochorocho commented on June 22, 2024

I'll leave this open until i know more about rabbitmq and it's php requirements.

from ddev-rabbitmq.

Related Issues (5)

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.