How to install Zend Guard Loader 6.0

  • Posted on February 24, 2015
  • emkacfAsked by emkacf


I’ve got problem with installing Zend Guard Loader 6.0 after I’ve choosed LAMP server with Ubuntu from automatical droplet instalation.

I’ve do following steps:

I’ve downloaded Zend Guard Loader


After I’ve downloaded I unpacked it

tar -zxvf ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz

Then I used:

cp /home/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64/php-5.4.x/ /usr/lib/php5/20121212/

I’ve moved into

cd /usr/lib/php5/20121212/

and changed permissions

chmod 644

After that I moved to

cd /etc/php5/mods-available

And created file zend_guard.ini

nano zend_guard.ini

with this inside it

zend_extension =
zend_loader.enable = 1

then I moved back to

cd ../apache2/conf.d

and created symbolic link

ln -s ../mods-available/zend_guard.ini ./20-zendguard.ini

and restarted apache

service apache2 restart

unfortunately after using php -v I still don’t have Zend Guard Loader

PHP 5.5.9-1ubuntu4.6 (cli) (built: Feb 13 2015 19:17:11)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

What I’m doing wrong?

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I had to do

ln -s ../../mods-available/zend_guard.ini ./20-zendguard.ini

insted of

ln -s ../mods-available/zend_guard.ini ./20-zendguard.ini

emkacf did you get this to work? I followed the instructions you posted but used the 7.0 version of ZendGuard and I’m still not having any luck.

Check php -v it shows your php version 5.5 and you are trying to install for php version 5.4. You need Loader 7.0.0 which you can get for php 5.5 and 5.6, just release a few days ago. Hope this helps!