Closed lukevear closed 1 month ago
For reference, serversideup/php:8.2-unit-v3.1.0
and serversideup/php:8.2-unit-v3.2.0
work without issue.
Thanks for the heads up and the detailed message.
I will take a look into this. It's definitely only affecting unit
only.
I have some other open source projects that I am trying to get out the door very soon, so let me swing back to this once I have some bandwidth.
Thanks for your patience! 👍
I ran into this issue today, hopefully #427 or #428 are enough to get this fixed.
Setting return 0
fixed this, as suggested by @WoLfulus (https://github.com/serversideup/docker-php/commit/b6daaeae0ec1b92579944790698aa2252ad74d52)
I left the return 1
out because I wanted the script to exit immediately on those.
This is currently on this PR:
But it will soon be merged into:
I would appreciate some alpha and beta testing if you get the chance! Thanks a ton for your help!
Steps To Reproduce
echo "<?php phpinfo();" > index.php
docker run --rm -v $(pwd):/var/www/html/public -p 80:8080 --env SHOW_WELCOME_MESSAGE=false serversideup/php:8.2-unit-v3.3.0
Outcome
What did you expect?
Expected to see php info outlet when navigating to
http://localhost
.What happened instead?
Connection is rejected.
Affected Docker Images
serversideup/php:8.2-unit-v3.3.0
Anything else?
Docker Run Output (with
SHOW_WELCOME_MESSAGE=false
)Docker Run Output (with
SHOW_WELCOME_MESSAGE=true
or omitted)