Hey,
I'd like to install / use Zend Guard 7 for PHP 5.6. I'm already using PHPswitcher to switch between different PHP Versions.
How can I install this extension? Is it possible to user the php_compiler.pl script?
Thank you.
Kind Regards,
mazzo
Hey,
I'd like to install / use Zend Guard 7 for PHP 5.6. I'm already using PHPswitcher to switch between different PHP Versions.
How can I install this extension? Is it possible to user the php_compiler.pl script?
Thank you.
Kind Regards,
mazzo
Hello,
Zend Guard is a PHP extension.
Is it possible to user the php_compiler.pl script?
No. the PHP compiler allows to compile various PHP versions only.
In order you must:
If you don't figure out alone, I'll create a howto this evening.
You need it for which PHP version exactly? All?
You need it for which PHP version exactly? All?
At least 5.6.
But - the steps for other PHP versions are very similar, aren't they?
Yes, they are... I'll post the howto this evening.
Yes, they are... I'll post the howto this evening.
Hey Laurent,
please excuse my impatience. Any news about the howto?
Greetings,
mazzo
Sorry, I forgotten you. Here comes the howto for PHP 5.6 (compiled with the PHP comiler that is provided by the PhpSwitcher plugin).
1. Compile your PHP 5.6 version by using the PHP compiler that is provided by the PhpSwitcher plugin
2. Download the Zend Guard Loader archive for Linux under the/usr/local/src directory (For my test, I choosen Zend Guard Loader for PHP 5.6 - Linux 64bits)
3. Copy both, the opcache.so and the ZendGardLoader.so modules from the Zend Guard Loader archive directory into the PHP extension directory as follow:
4. Create the required PHP ini file for activation of the Zend Guard Loader
5. Make sure that both, OPcache and ZendGuard Loader are correctly installed:
Expected output
6. Depending on the i-MSCP httpd server implementation you're using, restart Apache2 or the psw5.6-fpm service. Note that the PHP version must be first registered through the PhpSwitcher interface (admin level)
You're done.
For the rest, read the README.txt file inside the Zend Guard Loader archive.