-
-
Notifications
You must be signed in to change notification settings - Fork 595
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
PHP7.4 Project fails to start if php extensions are added #2092
Comments
Thanks so much for opening this. I had marked the slack thread to review next week, but this is much better. |
Oh, I know what this is. There was a change in upstream packaging. Broke my own server. There is all kinds of fallout:
But also...
I imagine we'll need a v1.13.1 to fix this set of problems. Seems a lot of upstream disturbance lately. |
* Rework php-fpm.conf per changes in debsury See oerdnj/deb.sury.org#1334 Uses /run/php/phpx.x-fpm.pid (in directory /run/php) * Improve TestExtraPackages to use php-gmp and clean up
…ev#2099) * Rework php-fpm.conf per changes in debsury See oerdnj/deb.sury.org#1334 Uses /run/php/phpx.x-fpm.pid (in directory /run/php) * Improve TestExtraPackages to use php-gmp and clean up
Thank you for the quick action! |
It's not exactly the same problem now, but similar enough that I'll reopen this. @spoonerWeb points out that the same basic thing is happening again today. It's actually different, this time it's
Luckily (thanks!) you found it soon enough we can sort this out for v1.14 release (and a v1.13.2) If there isn't already a test for |
I would suggest to add a test for this issue. |
There is a decent test, TestExtraPackages, but it only tests php 7.3, and it seems that more churn happens on 7.4 |
Couldn't you run the tests for each php version? That's something we normally do in the php world with all supported versions for a package e. g. https://github.com/benjaminkott/bootstrap_package/blob/master/.github/workflows/ci.yml#L13 |
Yes. We run lots of tests on multiple php versions. The difference here is that it's a huge build process; we're not talking about running under php, we're talking about updating all the packages that pertain to a given PHP version. But if this had been using 7.4 instead of 7.3, we would have seen the nightly build break. I am looking at how much trouble it is to make the test use at least supported PHP versions. |
#2092 will fix this and should deal with the underlying issues, and improves test coverage. |
Describe the bug
The project fails to start when using PHP7.4 and adding any extra php extensions to the container. All errors and configs can be found below.
To Reproduce
Steps to reproduce the behavior:
webimage_extra_packages: [php7.4-ldap]
to your config.yaml (I have also experienced the same bug with php7.4-gmp)ddev start
Expected behavior
The container should start normally with php7.4-ldap installed and activated.
Screenshots
If applicable, add screenshots to help explain your problem.
Version and configuration information (please complete the following information):
docker version
) and insert it here.ddev version
)Additional context
DDEV Output on
ddev start
How to temporarily resolve this issue
Add a file named
docker-compose.test.yaml
to your .ddev folder with the following content:Link to TYPO3 Slack conversation: https://typo3.slack.com/archives/C8TRNQ601/p1582730930033200
The text was updated successfully, but these errors were encountered: