diff --git a/PHP.md b/PHP.md index c5ecd14..ac5250c 100644 --- a/PHP.md +++ b/PHP.md @@ -5,9 +5,10 @@ In order for PHP to be most useful, it should have as many of the modules installed as will be used. I recommend installing it using the FPM sapi, which manages php session spawning. Here are some recommended flags: -`mysql utf8 threads -readline libssh2 -cgi fpm xcache suhosin postgres -mysqlnd reflection session simplexml sockets spl pdo mbstring sqlite3 -mysqli soap exif` + -readline -cgi fpm mysql mysqli mysqlnd pdo postgres sqlite3 utf8 + threads libssh2 reflection session simplexml sockets spl mbstring soap exif + xcache suhosin + ## PHP_TARGETS @@ -43,7 +44,7 @@ So, if I'm running php 5.3, and I want to adjust cli settings, the file is `/etc When compiling PHP with FPM, there is another config file, `php-fpm.conf`. -When starting php, it will through an annoying message if you don't have the +When starting php, it will throw an annoying message if you don't have the `pm.start_servers` setting configured. A good default is to set `pm.start_servers = 20`