Closed jimsihk closed 2 years ago
You are right, was a mistake on the php8 migration, should be fixed now
Thanks for the quick fix and it works!
Wondering would it be better for future maintenance if creating a soft link php
to point to php8
in alpine-php-webserver? Then even for php upgrade in the future, there is no need to change the alpine-moodle project.
Yes, good idea, the new php8.1 binary is named php81
so it can be easier to maintain, I will change it in the next version, thanks!
I found that alpine 3.16 will by default create the soft link if installing php8
instead of php81
, seems like upgrading would also be a good option.
/usr/bin $ ls -l | grep php
lrwxrwxrwx 1 root root 4 Aug 11 12:13 php -> php8
-rwxr-xr-x 1 root root 5302048 Aug 5 23:54 php8
/usr/bin $
I am trying the latest docker image on M1 Macbook with Docker Desktop and found that the cron is failed to run due to missing file:
Checked in the /usr/bin folder, there is only php8 but no php which seems to be the root cause:
This is my docker-compose.yml FYR: