Mar 14, 2012

Adding php to an nginx/passenger/configuration


what is the best way to proceed if i want to install php and serve some php blog, on a VPS server that is already serving ruby on rails pages through passenger and nginx?

I have set up my vps by following

Asked by Alex


From my personal experience I suggest using PHP-FPM. Depending on your skill level and your distribution you can either compile it, use some external Repository (e.g. PPA), or the version of your distribution.

Search for PHP-FPM to get further informations and/or additionally provide more informations. Most important your distribution and your intention of use: developing or internet presentation. This might influence the reply in terms of “latest version” vs. “distribution version” is good enough and helps to point you into the right direction to fit your needs.

Answered by Chris

Related posts:

  1. nginx + PHP-FPM = “permission denied” error 13 in nginx log; configuration mistake?
  2. Nginx + PHP 5.3.3 (with php-fpm) – memory usage?
  3. Apache/PHP Configuration question – Where else can info.php be disabled besides php.ini?
  4. CLI PHP configuration
  5. PHP Script Won’t Run – Apache2/MySQL Servers Running, PHP Installed – Ubuntu 10.04

Leave a comment