Containerizing PHP and Nginx involves creating Docker containers for each service and configuring them to work together. Below are the steps involv...
For further actions, you may consider blocking this person and/or reporting abuse
Why PHP 8.0.2 ?
It's not supported
I tested out this the code multiple times and it works seamlessly, just follow the instructions and steps meticulously.
Docker image PHP 8.0.2 standalone doesn't work with Nginx web server, because it does not include the FastCGI Process Manager (FPM), which is essential for handling HTTP requests in a web server setup in Nginx or Apache configured with FastCGI.
Nobody said the code doesn't work.
The question was about used PHP version.
PHP 8.0 is not supported any more php.net/supported-versions.php
Yes you are absolutely right, I overlooked the php version, thanks for pointing that out, I will update this content soon.
I usually call it DockerPHP link : github.com/hophuoctrung/DockerPHP
Great 🦾