Compile PHP-FPM for Nginx – Easy Install with a Script




new password?
login
X
php-fpm logo

Run this no-hassle script on a VPS and PHP-FPM 5.3.x is auto-compiled. Its default configure options are perfect for noobs & can be adapted easily by advanced users.

The script’s options are perfect for most multi-site setups while its variable-led format makes extending PHP incredibly simple.

That said, while compiling PHP does add flexibility, PHP-FPM installations from repositories is generally the best way to go with a FPM FastCGI solution because it’s a no-brainer to maintain.

Setup Unmanaged VPS: The Ubuntu-Nginx Guide

Take your virtual private server from zero to hero

  .. from blank box to cute-as server ..  

with this easy-to-follow copy/paste guide.

22+ parts with video, here’s the index.

To run this script copy it to a plain text document, read it, in some advanced cases maybe tweak a few variables, then just run it like this ..

On your VPS, assume root:-

sudo -i

Give your password then open a new file:-

nano script

Paste the script inside, save the file and change the permissions like this:-

chmod u+x script

And run it:-

./script

Thassit. Tough huh?! Here it is, by the way ..

PHP-FPM (Compiled) Stack 4 LEMP


Please sign up for automatic premium content access.

Just $15/year* will save you hours, maybe days!

Alternatively, the vpsBible forum is free and you are welcome.

PHP-FPM Installed. Now What?

Unless you’re carrying straight on with your server build, quit root:-

exit

Next up, you’ll need MySQL. For that, check out the MySQL section of Install PHP5 (PHP-FPM) & MySQL for Nginx.

.. Catch you there. :)

Setup Unmanaged VPS: The Ubuntu-Nginx Guide

Take your virtual private server from zero to hero

with this easy-to-follow copy/paste guide.

“My local PC runs Windows” Show me for Linux/Mac

22+ parts with video, here’s the index ..

Manage Unmanaged VPS: Ubuntu-Nginx Administration

Already set it up? We’d best maintain it then.

Toggle to the ..  Ubuntu-Nginx Admin Index




Got a Question? Want to Comment?

This site has no comments system. We've got a better system!

Please use the link at the top of the post and goto this topic's forum thread:-

  • to help build community
  • for a superior knowledge base
  • to keep info in one place, not diluted between forum & comments.

For those posts ported from Guvnr.com (pre-Feb/2010), archive comments remain.

Handy info from these comments is in the process of being ported to the forum and attributed to the original author.

If you think this idea sucks, let me know.

Thank you.