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

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 (, 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 in /etc/php/5.6/fpm

I’ve edited php.ini to add the following lines: zend_extension=/etc/php/5.6/fpm/ 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!


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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.