Install LibXL (last version) and Accompanying PHP Extension Interface

Table of Content

This bash script will auto download LibXL and Iliaal’s accompanying PHP extension service, and install them to your server.
Please note that the LibXL library is a commercial library. This script needs to be run as the root user.
This tutorial is for CentOS and Ubuntu for other Linux distribution some command may be different but process is the same.

Choose script script according to your system:
Install libxl, php_excel extension on PHP7 (main interpretator) on CentOS 7
Install libxl, php_excel extension on PHP7.1 (main interpretator) on CentOS 7
Install libxl, php_excel extension on PHP7.1 and Ubuntu 64bits (trusty/xenial)
Install libxl, php_excel extension on PHP7.2 and Ubuntu 64bits (14.04, 16.04+)

Copy and past appropriate script to your server.
I usually place custom installation scripts to /home/installs directory.

# cd /home/installs
# mkdir /home/installs/php_excel
# touch install.sh
# chmod +x install.sh

After that simply run

# ./install.sh

Leave a Reply

Your email address will not be published. Required fields are marked *