Updated PHP use flags

This commit is contained in:
Timothy Warren 2012-03-30 12:13:03 -04:00
parent abd4876e53
commit 2620843cd3
1 changed files with 5 additions and 5 deletions

10
PHP.md
View File

@ -6,18 +6,18 @@ In order for PHP to be most useful, it should have as many of the modules instal
Here are some recommended flags:
-readline -cgi fpm mysql mysqli mysqlnd pdo postgres sqlite3 utf8
threads libssh2 reflection session simplexml sockets spl mbstring soap exif
xcache suhosin
mysql mysqli utf8 threads -readline libssh2 -cgi fpm xcache postgres
mysqlnd reflection session simplexml sockets spl pdo mbstring sqlite3
soap spell firebird exif cjk sqlite mssql xpm tidy calendar xmlrpc doc
## PHP_TARGETS
The `PHP_TARGETS` setting in `/etc/make.conf` lets you select which versions of PHP to compile. If possible, I recommend always using the latest stable version.
As of the time this is written, php 5.3 is the latest version, so I would add this line to `/etc/make.conf`
As of the time this is written, php 5.4 is the latest version, so I would add this line to `/etc/make.conf`
`PHP_TARGETS="php5-3"`
`PHP_TARGETS="php5-4"`
Please note that you can have multiple PHP_TARGETS: