What is the best way to run PHP with Nginx?
- Run Nginx with PHP FastCGI
- Run Nginx as a reverse proxy while Nginx forwards request to Apache
feedback
|
|
If you need support for htaccess or any other Apache features, option 2, otherwise option 1. | |||
|
feedback
|
|
I would say option one, and look into using php-fpm with nginx, it works great. | |||||
feedback
|