You are here

Suhosin

Install NginX and PHP with PHP-FPM, MySQL and APC

*** This entire article is also provided as a script, available on GitHub. Check the README file for instructions on how to run the installer.

In this tutorial I will compile the latest NginX and PHP with FPM, MySQL, Suhosin and APC on Ubuntu 11.04 (All the steps and dependencies should be the same for Ubuntu 10.04 and 10.10).

Please bear in mind that this method is intended for development and testing purposes only. If you care about stability and security you should use the packages provided by your distribution.

I will not explain how to configure NginX here. You can find a lot of resources about that on the nginx wiki.

In order to compile these programs you will need the following dependencies (most of them should already be installed):

Recent comments