If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
I think that having (PHP) on it's own would an important step.
Is there a particular reason why?
I like the current approach of having a separate handler for PHP, but then again, maybe I'm just used to it nginx just does its thing, and then passes PHP scripts over to PHP-FPM, and then from there, runs the scripts. For any website that doesn't use PHP, you just don't set it to use PHP-FPM. You can tweak nginx for a specific set-up, and then tweak PHP-FPM separately. People that don't need or plan to need PHP however can choose not to use PHP-FPM and just use nginx by itself.
With Apache's default approach, as I understand PHP support is built-in. Initially this didn't let you achieve the same level of performance as nginx + PHP-FPM, but I believe Apache has some relatively new event thing that is supposed to speed it up pretty nicely (although I'm not sure if this affects PHP or other things directly). And you could also run PHP-FPM separately with Apache as well.
I like the current approach of having a separate handler for PHP, but then again, maybe I'm just used to it nginx just does its thing, and then passes PHP scripts over to PHP-FPM, and then from there, runs the scripts. For any website that doesn't use PHP, you just don't set it to use PHP-FPM. You can tweak nginx for a specific set-up, and then tweak PHP-FPM separately. People that don't need or plan to need PHP however can choose not to use PHP-FPM and just use nginx by itself.
With Apache's default approach, as I understand PHP support is built-in. Initially this didn't let you achieve the same level of performance as nginx + PHP-FPM, but I believe Apache has some relatively new event thing that is supposed to speed it up pretty nicely (although I'm not sure if this affects PHP or other things directly). And you could also run PHP-FPM separately with Apache as well.
Well my reason is mainly ease of setup.
But when i think that i dislike systemd because it does too much and is getting gigantic, i have to admit the nginx way is better.
Apache did the same thing. It kept adding features until it got bloated beyond repair.
Maybe i need to change the way i think, because if more projects took the same aproach we would have much faster, simpler software.
Comment