Calem Blogs

Blogs of CalemEAM

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. 

  • This blog is intended for system administrators of customers with on-premise implementation of Calem Enterprise.
  • There is no need for customers of Calem Cloud Service to dive into the details below. The service administration of Calem Cloud Service is handled by Calem Support Team.

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:

  • Set up "php.ini" for Apache
  • Set up "php.ini" for command line
  • Install required PHP libraries
  • Install ionCube loaders
  • Install the license file from CalemEAM

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.

  • Copy the current installation to the new server.
  • Create a new database and import your current database to the new database. This new database will be upgraded to R2019b.

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. 

Smart Lookup in Calem Enterprise R2019a
Limit Editing to Approved Changes