By Clay Li on Sunday, 05 May 2019
Category: Feature

How to Upgrade to PHP 7.2

In the coming release of Calem Enterprise R2019b, the support of PHP 7.2 will be included. Customers of on-premise implementation can download the release when it is available (planned for May 2019). The release source archive will have "php72" in it such as "CalemEnterprise_2019_ioncube.php72.tar.gz" here (customer account is required). 

This blog walks through the upgrade process at high level. Customers can get in touch with Calem Support Team when needed. The discussion assumes that Ubuntu LTS 1804 is used as the operating system. 


Step 1. Ubuntu LTS 1804

Assume that you have built a VM (virtual machine) of Ubuntu LTS 1804. Follow this Linode Guide to set up Apache, MySQL and PHP 7.2.

Step 2. Calem Setup

Use "Chapter 4 Installation Preparation" of Calem Installation Guide to set up the following items:


Step 3. Calem Enterprise Migration

Both installation and database of current Calem Enterprise installation will need to be migrated for the new service. It is possible to reuse your current database without creating a new one for the upgrade. It is cleaner to create a new database for this discussion.


Step 4. Calem Enbterprise R2019b

​Follow the upgrade process of Calem Enterprise Installation Guide to deploy the source archive of Calem Enterprise R2019b for PHP 7.2 to the current installation in the new server. This step replaces the source code of current installation with the one for PHP 7.2. 

Step 5. Web Installation

The final step is to run the web installation (see Calem Enterprise Installation Guide). Follow the steps in the Installation Guide to upgrade your current database to R2019b. 

You should be all set with the PHP 7.2 upgrade. 

Additional resources