Skip to content
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

Simple Demo, Microblog using NGX-PHP (PHP8) and Docker #142

Open
soulteary opened this issue Oct 3, 2022 · 2 comments
Open

Simple Demo, Microblog using NGX-PHP (PHP8) and Docker #142

soulteary opened this issue Oct 3, 2022 · 2 comments

Comments

@soulteary
Copy link
Contributor

soulteary commented Oct 3, 2022

A simple application example, I hope it will be helpful to the users of NGX-PHP:

UPD, how to : https://soulteary.com/2022/10/05/nginx-black-magic-low-cost-high-performance-applications-using-ngx-php-modules.html

@joanhey
Copy link
Contributor

joanhey commented Oct 6, 2022

Ngx-php it's about 400-600% faster than php-fpm.

So these numbers don't look OK
image

That's only 35,80% faster.

I created a fork from your repo, and I will send issues and PR's to make it correct.
So we will explain how to use it correctly.

PD:
Please, try to change the html in:
https://soulteary.com/2022/10/05/nginx-black-magic-low-cost-high-performance-applications-using-ngx-php-modules.html

From <!DOCTYPE html><html lang="en" to <!DOCTYPE html><html lang="zh" .
Or the browser can't translate the page.
Thank you

@soulteary
Copy link
Contributor Author

Okay, I agree with the point you mentioned in another issue, the OP is optimization of PHP, not NGX vs FPM or Apache, maybe PHP should be kept optimized to be more convincing. @joanhey

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants