LibXL for PHP5/PHP7 on Ubuntu 14.04/16.04 Server

This is for iliaal’s php_excel extension – https://github.com/iliaal/php_excel

I found that the installation procedure is a bit different from the official installation method
(There are no ./buildconf file)

Just a quick note for future deployment


1. Install tools, php*-dev for the phpize tool

2. Install LibXL library

(Change lib64 to lib if 32 bit)

3. Compile and install php_excel (LibXL PHP extension)

4. Create PHP extension config and enable it

with content

5. Enable the PHP config

6. Restart Apache / php-fpm

phpinfo() should now should show excel extension


1. Install tools, php*-dev for the phpize tool

2. Install LibXL library

(Change lib64 to lib if 32 bit)


3. Compile and install php_excel (LibXL PHP extension)

4. Create PHP extension config and enable it

with content

5. Enable the PHP config

6. Restart Apache / php-fpm

phpinfo() should now should show excel extension


 


2015-12-08 00_51_19-phpinfo()

Leave a Reply

Your email address will not be published.