← ServerPilot Docs

PHP Extensions

Available PHP Extensions

The following is a list of PHP extensions enabled by default in ServerPilot's PHP builds. These extensions are available in PHP 5.

How to Install PHP PECL Extensions

PECL extensions are third-party extensions for PHP. These extensions often add new built-in functions to PHP that do not exist in the core PHP language.

How to Remove PHP Extensions

If you no longer need third-party PHP extensions you've installed, you can remove them. In the examples shown, replace "

How to Install the PHP OAuth Extension

In the examples shown, replace "5.X" or "7.X" with your app's PHP version (for example, "5.4" or "7.1"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP ImageMagick Extension (IMagick)

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.4" or "7.0"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

Install ionCube Loader

The ionCube Loader is a PHP extension that enables PHP to execute files encoded using the ionCube Encoder. In this tutorial, we'll show you how to install the ionCube Loader on your servers.

How to Install the PHP Memcached Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "7.1" or "5.6"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install SourceGuardian

In this tutorial, we'll show you how to install the SourceGuardian PHP encoder on your servers. This tutorial assumes you have already connected your server to ServerPilot.

How to Install the PHP AMQP Extension

To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version. The PHP AMQP extension requires Ubuntu 16.

How to Install the PHP APCu Backwards Compatibility Extension

In the examples shown, replace "7.X" with your app's PHP version (for example, "7.0" or "7.1"). The APCu Backwards Compatibility (apcu-bc) module extends the APCu module to add full backwards compatibility with APC for PHP 7.

How to Install the PHP APCu Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.1"). The APCu extension adds object caching functions to PHP.

How to Install the PHP GeoIP Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "7.1"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP GnuPG Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "7.1"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP gRPC Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.2"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP Ice Framework Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.4" or "7.0"). Ice is a PHP web framework implemented as a C extension.

How to Install the PHP libvirt Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.0"). The PHP libvirt extension, known as libvirt-php, adds the ability to managelibvirt virtualization directly from your PHP scripts.

How to Install the PHP Mailparse Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.0"). To install this extension for multiple PHP versions, repeat the installation for each PHP version.

How to Install the PHP mcrypt Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "7.2"). The mcrypt extension is an interface to the mcrypt cryptography library.

How to Install the PHP MongoDB Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "7.0"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP Phalcon Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "7.0"). Phalcon is a PHP web framework implemented as a C extension offering high performance and lower resource consumption.

How to Install the PHP Redis Extension

To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version. This PHP extension provides client access to the Redis server.

How to Install the PHP Saxon/C Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.2"). These instructions only work for Ubuntu 16.

How to Install the PHP SQLSRV Extension

To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version. The SQLSRV extension provides functions for accessing Microsoft SQL Server databases.

How to Install the PHP SSH2 Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.4" or "7.1"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP Stats Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.0"). To install this extension for multiple PHP versions, repeat the installation for each PHP version.

How to Install the PHP Stomp Extension

To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version. The PHP Stomp extension allows communication with STOMP-compliant Message Brokers.

How to Install the PHP Suhosin Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.0"). Suhosin is a PHP security extension that attempts to protect against potential bugs in your application's PHP code.

How to Install the PHP Xdebug Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.4" or "7.0"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP YAML Extension

To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version. The PHP YAML extension provides PHP functions for parsing and serializing files and text containing YAML markup.

How to Install the PHP ZeroMQ Extension

In the examples shown, replace "X.Y" with your app's PHP version (for example, "5.6" or "7.0"). To install this extension for multiple PHP versions, repeat the installation for each PHP version.

How to Install XML-RPC for PHP

Most PHP apps that require XML-RPC use an XML-RPC client library written in PHP. For example, you can use this popular PHP XML-RPC library.

How to Install the PHP APC Extension

APC is an opcode cache that allows PHP to save and reuse the intermediate code generated from PHP source code as a speed optimization.

How to Install the PHP SVN Extension

In the examples shown, replace "5.X" with your app's PHP version (for example, "5.4"). To install a PECL extension for multiple PHP versions, repeat the PECL extension installation for each PHP version.

How to Install the PHP XCache Extension

In the examples shown, replace "5.X" with your app's PHP version (for example, "5.6"). The XCache extension is a third-party PHP opcode cache.

How to Install Zend Guard Loader

In this tutorial, we'll show you how to install Zend Guard Loader on your server. Zend Guard Loader is an extension that makes it possible to use PHP files encoded with Zend Guard, a tool used by some proprietary PHP applications to protect access to the app's source code.

Launch your first site in 5 minutes