-
-
Notifications
You must be signed in to change notification settings - Fork 158
Implements PHP-FPM/FCGI for Apache for 7.0.3, Flex 3.19, and Flex Edge #383
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
Conversation
Implements PHP-FPM/FCGI for Apache. More information about PHP-FPM/FCGI for Apache on Alpine can be found here (https://wiki.alpinelinux.org/wiki/Apache_with_php-fpm). Tested for 7.0.3.
Wanted to write down some thoughts before I forgot them.
P.S.: I'm going to be busy for a bit but I should be able to respond to messages again here in around 2 weeks. |
hi @Jmevorach , |
Thanks @bradymiller! And sure sounds good. Happy testing 🙂! |
time to pull the trigger :) |
hi @Jmevorach , |
Hi @bradymiller . That is interesting! I definitely saw those performance gains I mentioned above. In light of that my assumption, unless I did something wrong, is that there's something causing phpinfo() to report on unexpected results. I found this Stack Overflow page discussing an example in which phpinfo() produces unexpected results that can be found here. I think this serves a good datapoint to show that it is possible for phpinfo() to return unexpected results. However as to what exactly is causing the issue here I'm not sure. Are you also seeing performance gains on your end? |
Hi @Jmevorach , Out of box, appears the fastcgi is not working: I was able to get the
|
I should of also added another way to prove that php-fpm is up an running is via the
If don't do the steps above, then there are no entries for php-fpm processes |
@Jmevorach |
Alright well I'm stumped 😂. Yeah I have no idea what could have accounted for that. I noticed a markedly different response time and I was even able to replicate the results again today. I noticed it go from 0-0.8s to 0.0 - 0.4s . I'm going to try to get to the bottom of this just out of my own sense of curiosity. Also I'm 100% convinced. I definitely goofed on this one. My bad; apologies 🤦. Look forward to testing that once it's implemented! I'd offer to take it up myself but I'm going to be pretty busy for a bit and I also don't exactly have a good track record on implementing php-fpm 😊. Still happy to test once we get it figured out though. Thanks for catching this one and calling me out on it! |
hi @Jmevorach , |
hi @Jmevorach , fresh off the press :) |
Implements PHP-FPM/FCGI for Apache. More information about PHP-FPM/FCGI for Apache on Alpine can be found here (https://wiki.alpinelinux.org/wiki/Apache_with_php-fpm). Tested for 7.0.3.