-
Notifications
You must be signed in to change notification settings - Fork 151
Closed
Description
docker-compose exec wordpress /usr/local/bin/wp --path=/usr/src/wordpress status returns
env: can't execute 'php': No such file or directory
This is because the first line in /usr/local/bin/wp is #!/usr/bin/env php but there is no php binary in PATH or existing at all. But there is php82, so this works:
docker-compose exec wordpress /usr/bin/php82 /usr/local/bin/wp --path=/usr/src/wordpress help
If it is intentional to not have a php executable, the shebang line could be changed, which will lead to problems with its code signature etc. -- so I guess we should have a php executable?
Metadata
Metadata
Assignees
Labels
No labels