3 ms·
I've never used PHP with NGINX. Can you recommend a good tutorial for configuring the pair??
by niggler 14y ago
I've never used PHP with NGINX. Can you recommend a good tutorial for configuring the pair??
- ecaron 14y agoWhen using PHP and Nginx, you're going to become familiar with PHP-FPM (FastCGI Process Manager). The briefest tutorial to get to working is at http://www.howtoforge.com/installing-nginx-with-php5-and-php-fpm-and-mysql-support-lemp-on-ubuntu-12.10 http://www.howtoforge.com/installing-nginx-with-php5-and-php....
- lmcnearney 14y agoLook at php-fpm (FastCGI process manager) which has been bundled with PHP 5.3+. On the nginx side, you would configure it to use fastcgi_pass. An example configuration is available in the Silex documentation: http://silex.sensiolabs.org/doc/web_servers.html#nginx http://silex.sensiolabs.org/doc/web_servers.html#nginx
- francispelland 14y agoTo be honest, I never used one. It came installed on my stack and all I did was disable apache, enabled NGINX and PHP-FPM (cgi compiled php, quite a bit faster). But if there would be a tutorial, perhaps this? http://www.howtoforge.com/installing-php-5.3-nginx-and-php-fpm-on-ubuntu-debian http://www.howtoforge.com/installing-php-5.3-nginx-and-php-f...