Joan Miquel
Joan Miquel
The same problem using Ubuntu 21.04 or 21.10. But it's working without problems with Ubuntu 20.04. ``` FROM ubuntu:20.04 ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update -yqq && apt-get install -yqq software-properties-common...
Do you have installed `php7.4-dev` and `libphp7.4-embed` ?
And here an example with `php8.0` that I use in the benchmarks: https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/PHP/php-ngx/php-ngx-mysql.dockerfile
The process is the same for php7 or php8
If you have installed `php7.4` you only need to compile the `php_ngx` with the same version of your nginx.
Which version of nginx do you have ?
But which version is your Nginx? You need to compile using the same version.
`nginx -v`
yes because that line is specific for the benchmark. but is the same you need to have a config for nginx in some place. Create a deploy/nginx.conf Or comment that...
And remove all the `> /dev/null`, this is for don't show any output.