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
PHP 7.4 and laravel horizon #2407
Comments
I have repaired it |
Your fix seems to solve that original issue but then I get issues about and similar with other parts. I feel like maybe other containers or options are not ready for php 7.4 yet. Do not get the issues on 7.3 |
@lionslair yes,you are right。It not ready for php 7.4 yet。 |
I had the issue, and I provided a fix in #2414, its for the php worker, but may work for laravel horizon, i wouldn't say its a permanent fix, but if you're in need of a fix asap, this may just work for now |
i also get those error message when trying to build removing mbstring on Dockerfile like @zoulux suggest has fix the problem :D |
Hi there 👋 I was also struggling to upgrade my Laravel Dockerfile from 7.3 to 7.4 and I was having the exact same error messages.
RUN docker-php-ext-configure zip --with-libzip
I hope this helps 🍀 |
Info:
$ docker --version
): Docker version 19.03.5, build 633a0ea838$ git rev-parse HEAD
): https://bitbucket.org/lionslair/laradock/src/master/Issue:
Using php 7.4 in .env I get the following output
checking for oniguruma... no
configure: error: Package requirements (oniguruma) were not met:
Package 'oniguruma', required by 'virtual:world', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables ONIG_CFLAGS
and ONIG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
ERROR: Service 'laravel-horizon' failed to build: The command '/bin/sh -c docker-php-ext-install mysqli mbstring pdo pdo_mysql tokenizer xml pcntl exif' returned a non-zero code: 1
Expected behavior:
laravel-horizon compiles with php 7.4
Reproduce:
Clone the above repository and do docker-compose up with .env PHP_VERSION=7.4
Relevant Code:
The text was updated successfully, but these errors were encountered: