чт, 1 авг. 2024 г. в 16:46, Walt E <w...@ik.me>:

> I have been using apache2 + php for years under debian.
> But I heard people says nginx + php has better performance.
> Do you have experience on both of setup and share a bit with me?

If your setup works fine, use apache2 as php runner.
Nginx needs config exercises for .htaccess replacements and this is
sometimes too complicated for beginners.
For performance on multiple slow clients add nginx as reverse proxy
(as most other hosting setups), or use apache proxy module (never seen
last ~15 years).

Nginx is faster than apache2 because it get all data from backend,
send it to a slow client and backend ready to new request while nginx
sending data.
Apache2 can do it with proxy module, but i was see such configuration
around 2006, nginx as reverse proxy easier to configure.

-- 
Stanislav

Reply via email to