-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Grav and nginx-unit. #2664
Comments
Try commenting out this check https://github.com/getgrav/grav/blob/develop/index.php#L19 |
if commented out - everything works fine. |
I need to find some identifier from the nginx unit so it can skip that check. |
ahhh, deeper checks discover that grav says
how to debug it deeper - i don't know. |
logs/grav.log is empty |
I see traditional E_NOROGRESS here. |
I can confirm that I also encountered this when I tried to build a Docker image based on Nginx Unit. Commenting out the suggested check block did indeed fix this (thank you!). I can tolerate that hack while I'm still building up that image and it's just for my use. I looked for variables in the PHP environment that might act as identifiers for @rhukster to test against but nothing stood out for me. From reading, it seems Unit should really be setting If @eleksir is running Unit on the official docker images (no mention of docker so I'm assuming), then there is an explanation for both of us. It seems the official PHP builds for Alpine excluded the |
There is application server called nginx unit, it is capable to run php applications.
It successfully runs wordpress, roundcube, tiny-tiny rss, etc.
But if ona wants to run Grav on this app server, it will fail with error:
PHP webserver requires a router to run Grav, please use: <pre>php -S webserver.local:80 system/router.php</pre>
You just need to pick alpine linux 3.9 with it's php7, unit-php7 and nginx to reproduce this.
The text was updated successfully, but these errors were encountered: