Question

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

Posted January 4, 2017 6.6k views
PHPUbuntu 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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
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.

Submit an Answer