How to install Zend Guard Loader on Ubuntu 16 with php 5.6

January 4, 2017 153 views
PHP Ubuntu 16.04

Hi! I'm trying to install Zend Guard Loader on my droplet. I've only been able to find guides for installing it for Ubuntu 14.04 (http://idroot.net/tutorials/how-to-install-zend-guard-loader-on-ubuntu-14-04/), Ubuntu 16.04 appears to have a different structure, and I'm not sure how to adjust.

for now I've extracted the package, and placed ZendGuardLoader.so in /etc/php/5.6/fpm

I've edited php.ini to add the following lines:
zendextension=/etc/php/5.6/fpm/ZendGuardLoader.so
zend
loader.enable=1

I believe I should try to restart apache now, but I get "Unit apache2.service not found."

Any advice would be very welcome!

1 Answer

I would strongly recommend going with Ubuntu 14.04 if you must use PHP 5.6.

Please note that PHP 5.6 is currently depreciated and will reach end of life on 31 Dec 2018, after that time there will be no more security updates and it will be completely unsupported.

Ubuntu 14.04 will not reach end of life until April 2019 so it would be safe to use and a good fit for a PHP 5.6 application until an upgrade is required across the board.

If your application or system can be run with PHP 7.x you should consider upgrading as soon as possible.

Have another answer? Share your knowledge.