How to install Zend Guard Loader in Plesk

Created:

2016-11-16 12:53:57 UTC

Modified:

2017-08-16 17:00:33 UTC

3

Was this article helpful?


Have more questions?

Submit a request

How to install Zend Guard Loader in Plesk

Applicable to:

  • Plesk 12.5 for Linux
  • Plesk Onyx for Linux

Question

How to enable Zend Guard Loader in Plesk?

Answer

Plesk does not provide Zend Guard Loader pre-installed. However, it can be installed manually, i.e. on Plesk 12.5, Debian-based OS, PHP 5.4:

  1. Download "ZendGuardLoader" according to PHP version

    # wget http://downloads.zend.com/guard/6.0.0/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz
  2. Extract ZendGuardLoader.so library and move it to modules folder

    # tar -xzf ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64.tar.gz
    # mv /usr/local/ZendGuardLoader-70429-PHP-5.4-linux-glibc23-x86_64/php-5.4.x/ZendGuardLoader.so /opt/plesk/php/5.4/lib64/php/modules/
  3. Set correct permissions

    # chmod 755 /opt/plesk/php/5.4/lib64/php/modules/ZendGuardLoader.so
    # chown root:root /opt/plesk/php/5.4/lib64/php/modules/ZendGuardLoader.so
  4. Create corresponding .ini file with the following content:

    # cat /opt/plesk/php/5.4/etc/php.d/zendGuardLoader.ini
    zend_extension=ZendGuardLoader.so
  5. Restart php-fpm service:

    # service plesk-php54-fpm restart
Have more questions? Submit a request

2 Comments

  • 0
    Avatar
    Kennette Canales

    How to install zend guard loader directly on plesk php settings? 

  • 0
    Avatar
    Pavel Mikhaylov

    Hello Kennette,

    If by 'install Zend Guard Loader directly on plesk PHP settings' you mean installing it via Plesk UI, it is not possible.

    Module itself still has to be unpacked manually.

Please sign in to leave a comment.