-
-
Notifications
You must be signed in to change notification settings - Fork 654
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AMQP extension and PHP 8 #826
Comments
@vpassapera I suggest you to read the last lines of your (summary) report before submitting a new issue, even if it's not the origin of problem Now to help all of Devilbox users that want to use amp extension with PHP 8 I found an interresting article that may help, even if now it's not really necessary since PECL restored in official PHP 8 Docker images Alternatives are :
Read also NOTE: https://github.com/mlocati/docker-php-extension-installer/blob/master/MAINTAINERS.md#extensions-to-be-monitored In real situation, if you're easy to rebuild docker-php-fpm images, you can apply these changes or wait for @cytopia that should do it later ! build/ansible/group_vars/all/mods.yml
@cytopia I suggest also to add pickle as a new software in PHP containers, to simplify PHP extensions installation for all users
When entering new version of PHP container, you should have *amqp up and running
|
ISSUE TYPE
Checklist
.env
file is attached./check-config.sh
output is added belowdocker-compose logs
output is added belowdocker-compose.override.yml
is attached (if exists)cfg/
dir are attached (if exist)OS / ENVIRONMENT
SUMMARY
Enabling the AMQP extension in env file does nothing when using PHP 8. The lastest (master) version of this extension supports PHP 8, but it is not included in devilbox because it has to be built from scratch.
STEPS TO REPRODUCE
Using the following:
EXPECTED BEHAVIOUR
Inside of your devilbox:
$ php -m | grep -i amqp amqp
ACTUAL BEHAVIOUR
No AMQP module enabled:
$ php -m | grep -i amqp
OTHER INFORMATION
https://gitlab.com/-/snippets/2124707 lists a way of using a custom Dockerfile to get this working. But you have to build the image yourself and reference it in the docker file.
Start command
Outputs
env file
This is after I started using my custom image:
The text was updated successfully, but these errors were encountered: