PHP Extensions

Last Updated March 2015

Each version of PHP has specific extensions available for use. This doc includes full lists of extensions available for each PHP version. After reading it, you will be familiar with:

  • What PHP extensions are availble for each PHP version

To prevent unnecessary bloat in your PHP build, only a handful of PHP extensions are enabled by default. To enable extensions, include them in your Boxfile. On deploy, the specified extensions will be enabled.

Different extensions are available to different PHP versions. Select your PHP version to see what extensions are available.

Select Your PHP Version

PHP Extensions — PHP 5.3 YAML

  web1:
    php_extensions:
      - amqp
      - apc
      - apcu
      - apfd
      - apm
      - bcmath
      - bcompiler
      - bz2
      - calendar
      - ctype
      - curl
      - dba
      - dom
      - eaccelerator
      - enchant
      - exif
      - fileinfo
      - filter
      - ftp
      - gd
      - gender
      - geoip
      - gettext
      - gmp
      - gnupg
      - hash
      - htscanner
      - http
      - iconv
      - igbinary
      - imagick
      - imap
      - intl
      - json
      - json_post
      - ldap
      - lzf
      - magickwand
      - mbstring
      - mcrypt
      - memcache
      - memcached
      - mogilefs
      - mongo
      - mongodb
      - mssql
      - mysql
      - mysqli
      - ncurses
      - newrelic
      - newt
      - oauth
      - parsekit
      - pcntl
      - pdo
      - pdo_dblib
      - pdo_mysql
      - pdo_odbc
      - pdo_pgsql
      - pdo_sqlite
      - pgsql
      - phalcon
      - phar
      - phpwkhtmltox
      - posix
      - propro
      - pspell
      - radius
      - raphf
      - rar
      - readline
      - recode
      - redis
      - session
      - shmop
      - simplexml
      - snmp
      - soap
      - sockets
      - sphinx
      - sqlite
      - ssh2
      - stats
      - stomp
      - svn
      - sysvmsg
      - sysvsem
      - sysvshm
      - tidy
      - timezonedb
      - tokenizer
      - txforward
      - uploadprogress
      - wddx
      - wsf
      - xcache
      - xml
      - xmlreader
      - xmlrpc
      - xmlwriter
      - xsl
      - yaml
      - zip
      - zlib
    php_zend_extensions:
      - ioncube_loader
      - opcache
      - xdebug
/Boxfile

PHP Extensions — PHP 5.4 YAML

  web1:
    php_extensions:
      - amqp
      - apc
      - apcu
      - apfd
      - apm
      - bcmath
      - bz2
      - calendar
      - ctype
      - curl
      - dba
      - dom
      - eaccelerator
      - enchant
      - exif
      - fileinfo
      - filter
      - ftp
      - gd
      - gender
      - geoip
      - gettext
      - gmp
      - gnupg
      - hash
      - htscanner
      - http
      - iconv
      - igbinary
      - imagick
      - imap
      - intl
      - json
      - json_post
      - ldap
      - lzf
      - magickwand
      - mbstring
      - mcrypt
      - memcache
      - memcached
      - mogilefs
      - mongo
      - mongodb
      - mssql
      - mysql
      - mysqli
      - ncurses
      - newrelic
      - newt
      - oauth
      - pcntl
      - pdo
      - pdo_dblib
      - pdo_mysql
      - pdo_odbc
      - pdo_pgsql
      - pdo_sqlite
      - pgsql
      - phalcon
      - phar
      - phpwkhtmltox
      - posix
      - propro
      - pspell
      - radius
      - raphf
      - rar
      - readline
      - recode
      - redis
      - session
      - shmop
      - simplexml
      - snmp
      - soap
      - sockets
      - sphinx
      - ssh2
      - stats
      - stomp
      - svn
      - sysvmsg
      - sysvsem
      - sysvshm
      - tidy
      - timezonedb
      - tokenizer
      - txforward
      - uploadprogress
      - wddx
      - xcache
      - xml
      - xmlreader
      - xmlrpc
      - xmlwriter
      - xsl
      - yaml
      - zip
      - zlib
    php_zend_extensions:
      - ioncube_loader
      - opcache
      - xdebug
/Boxfile

PHP Extensions — PHP 5.5 YAML

  web1:
    php_extensions:
      - amqp
      - apcu
      - apfd
      - apm
      - bcmath
      - bz2
      - calendar
      - ctype
      - curl
      - dba
      - dom
      - enchant
      - exif
      - fileinfo
      - filter
      - ftp
      - gd
      - gender
      - geoip
      - gettext
      - gmp
      - gnupg
      - hash
      - htscanner
      - http
      - iconv
      - igbinary
      - imagick
      - imap
      - intl
      - json
      - json_post
      - ldap
      - lzf
      - magickwand
      - mbstring
      - mcrypt
      - memcache
      - memcached
      - mogilefs
      - mongo
      - mongodb
      - mssql
      - mysql
      - mysqli
      - ncurses
      - newrelic
      - newt
      - oauth
      - pcntl
      - pdo
      - pdo_dblib
      - pdo_mysql
      - pdo_odbc
      - pdo_pgsql
      - pdo_sqlite
      - pgsql
      - phalcon
      - phar
      - phpwkhtmltox
      - posix
      - propro
      - pspell
      - radius
      - raphf
      - rar
      - readline
      - recode
      - redis
      - session
      - shmop
      - simplexml
      - snmp
      - soap
      - sockets
      - sphinx
      - ssh2
      - stats
      - stomp
      - svn
      - sysvmsg
      - sysvsem
      - sysvshm
      - tidy
      - timezonedb
      - tokenizer
      - txforward
      - uploadprogress
      - wddx
      - xcache
      - xml
      - xmlreader
      - xmlrpc
      - xmlwriter
      - xsl
      - yaml
      - zip
      - zlib
    php_zend_extensions:
      - ioncube_loader
      - opcache
      - xdebug
/Boxfile

PHP Extensions — PHP 5.6 YAML

  web1:
    php_extensions:
      - amqp
      - apcu
      - apfd
      - apm
      - bcmath
      - bz2
      - calendar
      - ctype
      - curl
      - dba
      - dom
      - enchant
      - exif
      - fileinfo
      - filter
      - ftp
      - gd
      - gender
      - geoip
      - gettext
      - gmp
      - gnupg
      - hash
      - htscanner
      - http
      - iconv
      - igbinary
      - imagick
      - imap
      - intl
      - json
      - json_post
      - ldap
      - lzf
      - magickwand
      - mbstring
      - mcrypt
      - memcache
      - memcached
      - mogilefs
      - mongo
      - mongodb
      - mssql
      - mysql
      - mysqli
      - ncurses
      - newrelic
      - newt
      - oauth
      - pcntl
      - pdo
      - pdo_dblib
      - pdo_mysql
      - pdo_odbc
      - pdo_pgsql
      - pdo_sqlite
      - pgsql
      - phalcon
      - phar
      - phpwkhtmltox
      - posix
      - propro
      - pspell
      - radius
      - raphf
      - rar
      - readline
      - recode
      - redis
      - session
      - shmop
      - simplexml
      - snmp
      - soap
      - sockets
      - sphinx
      - ssh2
      - stats
      - stomp
      - svn
      - sysvmsg
      - sysvsem
      - sysvshm
      - tidy
      - timezonedb
      - tokenizer
      - txforward
      - uploadprogress
      - wddx
      - xcache
      - xml
      - xmlreader
      - xmlrpc
      - xmlwriter
      - xsl
      - yaml
      - zip
      - zlib
    php_zend_extensions:
      - opcache
      - xdebug
/Boxfile

PHP Extensions — PHP 7.0 YAML

  web1:
    php_extensions:
      - amqp
      - apcu
      - apfd
      - bcmath
      - bundle
      - bz2
      - calendar
      - ctype
      - curl
      - dba
      - dom
      - enchant
      - exif
      - fileinfo
      - filter
      - ftp
      - gd
      - gender
      - gettext
      - gmp
      - hash
      - http
      - iconv
      - imagick
      - imap
      - intl
      - json
      - json_post
      - ldap
      - lzf
      - mbstring
      - mcrypt
      - mogilefs
      - mongodb
      - mysqli
      - oauth
      - pcntl
      - pdo
      - pdo_dblib
      - pdo_mysql
      - pdo_odbc
      - pdo_pgsql
      - pdo_sqlite
      - pgsql
      - phar
      - posix
      - propro
      - pspell
      - raphf
      - readline
      - recode
      - session
      - shmop
      - simplexml
      - snmp
      - soap
      - sockets
      - stats
      - sysvmsg
      - sysvsem
      - sysvshm
      - tidy
      - timezonedb
      - tokenizer
      - wddx
      - xml
      - xmlreader
      - xmlrpc
      - xmlwriter
      - xsl
      - zip
      - zlib
    php_zend_extensions:
      - opcache
      - xdebug
/Boxfile

If you have any questions, suggestions, or corrections, let us know.