GalaxyData Community

How to install Zend Guard Loader in Plesk

Chapter 1. Question

How to enable Zend Guard Loader in Plesk?

Chapter 2. 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
    

https://support.plesk.com/hc/en-us/articles/213920745-How-to-install-Zend-Guard-Loader-in-Plesk

Exit mobile version