• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

problem adding php extension for zend under plesk 11.5

Kantaka

New Pleskian
We have been rebuilding our websites after a server re-image. Our new server setup is linux centos 6 with the system managed by plesk 11.5. We need to use zendguard for some of our php scripts so I installed the zenguardloader.so module in the /usr/lib64/php/modules folder. The zend installation instructions require adding
zend_extension=/usr/lib64/php/modules/ZendGuardLoader.so
zend_loader.enable=1
to the php.ini file. Under our system there was no overall php.ini file instead there is a ‘system’ folder in /var/www/vhosts/ with /etc/php.ini files for each domain and subdomain. Our server provider said to add the zend code using plesk. In the domains – php settings option (php 5.3) in plesk there is a box at the bottom there is a ‘additional configuration directives’ box into which I put the code above. This disabled ALL the php scripts for the domain, including those that did not use plesk. Can anyone advise about what I did wrong, how do I install zend under plesk 11.5?

Matt
 
If you need to enable the module server-wide, you should place configuration lines into /etc/php5/conf.d/zend_extensions_psa.ini or equivalent on your system.

If you need per-vhost configuration, place configuration in the mentioned box in the UI. You can check that such changes were provisioned by viewing /var/www/vhosts/system/<domain.tld>/etc/php.ini or equivalent on you system. Note that such configuration will not work with mod_php and php-fpm, and may not work with fastcgi or cgi php handlers.

The most likely potential error is loading ZendGuard loader before ionCube loader. This will effectively turn your PHP into a brick, so avoid it.
 
Back
Top