PHP (PHP-FPM) configuration

Start by navigating to the PHP-FPM folder, so we can edit out configuration files.

Edit php.ini, to add display errors, if your box is for development.

Down about 100 lines, add the following

[sourcecode language=”shell”]
display_errors = on
[/sourcecode]

Exit (ctrl + x), and save (Y).


Now we’re going to edit our pool…

Down about 30 lines, change the listen from a port 9000, to the following


Exit (ctrl + x), and save (Y).