TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.24 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.33k stars 721 forks source link

Create symlink for php #139

Closed C0mp4ct closed 10 months ago

C0mp4ct commented 10 months ago

since PHP 8.2 it cannot find php when for example the user wants to run composer command:

$ composer update
env: can't execute 'php': No such file or directory

So I added a symlink in the build step.

TrafeX commented 10 months ago

Ah indeed, that's needed again because the 'default PHP' is still PHP8.1 on Alpine Linux. Thank you!