NOTE: Bitnami stacks already include a number of PHP modules, which are installed but not active. Before installing a new module, check that it is not already included. If it exists, simply enable it in the PHP configuration file.

After modifying the PHP configuration file, restart both Apache and PHP-FPM for the changes to take effect:

eAccelerator

eAccelerator is a free open-source PHP accelerator and optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution.

MSSQL

Microsoft SQL Server is a relational database management system developed by Microsoft. The steps to install the module differ for PHP5 and PHP7, and Ubuntu and Debian. Choose the appropriate section below depending on the PHP version bundled with your stack and the platform. To obtain the PHP version, use the command php -v at your console prompt.

Installation

You need to install the PHP Linux Drivers for SQL Server. The process is different for Debian and Ubuntu.

GeoIP2

Apache

The mod_geoip2 module embeds GeoIP database lookups into the Apache web server. It is only capable of looking up the IP address of a client that connects to the web server, as opposed to looking up arbitrary addresses.

If this module is not in your stack, you can install it manually following the steps below.

NGINX

To compile and install the GeoIP2 module for NGINX, it is necessary to first download and compile NGINX from source with the GeoIP2 module included and then copy over the compiled module to the Bitnami stack’s existing NGINX installation. Follow these steps:

Install the libmaxminddb-dev library:

$ sudo apt-get install libmaxminddb-dev

Download and uncompress the GeoIP2 module source code using the example commands below. Note that the download URL and file name will differ depending on the version you’re downloading.

IonCube

Follow these steps:

Download the pre-compiled version and copy the .so file to the PHP extensions directory. It is very important to install the right version of ionCube taking into account the PHP version included in your solution. For example, if you want to install ionCube on WordPress and it uses PHP 7.0.27, you need to install the version 7.0 of ionCube.

NOTE: Y and Z are placeholders. Remember to replace them with the ionCube version number that matches your PHP version.

OCI8

Since LAMP/MAMP/WAMP stacks v5.4.34, 5.5.18 and 5.6.2, Bitnami stacks ship the oci8 module already compiled for each platform. This module requires users to download and install the InstantClient libraries from Oracle.

XCache

The XCache module is installed in Bitnami stacks, but is not enabled by default. To enable it, follow these steps:

Add the following lines to the /opt/bitnami/php/etc/php.ini file:

...
[xcache-common]
extension=xcache.so
...

Restart the Apache server to include the new configuration:

$ sudo /opt/bitnami/ctlscript.sh restart apache

Install the XCache administration page

Once XCache is installed, add the XCache administration page to obtain information on cache operations. This is not included by default, so follow the steps below:

Download the complete tarball containing the XCache Administration Page for the XCache version included in the Bitnami stack. Find XCache versions at http://xcache.lighttpd.net. To check your current XCache version, use the command php -v.

Extract the tarball content and use the htdocs folder to enable the XCache administration page.

Generate and save your authentication password. The XCache administration page is protected with HTTP authentication. Edit your php.ini file and add these lines to include your user and password.