ZendHQ GUI 1.5.7
Changed
- The application log was moved from the app directory to the temporary directory, for example, /tmp/ZendHQ/zendhq-ui.log
- Fixed logging in case system temp directory is unknown
- Updated the AgGrid component to version 32
Added LDAP authentication and authorization support to the ZendHQ daemon.
ZendHQ daemon can now be configured to use a LDAP server, like ActiveDirectory or an OpenLDAP server, to authenticate and authorize ZendHQ users.
LDAP authentication is performed asynchronously and JsonRpc clients cannot send other requests before authentication is finished and a response sent to the client.
Added Z-Ray SQL queries support for the PHP sqlsrv extension.
Support for the sqlsrv extension was already added in the previous 1.6.0 version, but now it is enabled for the public use.
The ZendHQ PHP extension's zeromq PUB/SUB socket endpoint is now configurable
The zendhq.daemon_pub_uri ZendHQ PHP extension's directive can now be used to set the daemon's zeromq PUB/SUB socket uri manually. The default is to leave this directive undefined and use the uri provided by the daemon.
The Z-Ray token cookie max-age attribute is now configurable
When Z-Ray is requested using the zraytok request parameter, then the ZendHQ PHP extension responds with the Set-Cookie: zraytok= max-age= response header. Consequent requests with the zraytok cookie will trigger additional Z-Ray requests without providing the zraytok request parameter.
The value of the max-age attribute of the cookie is now configurable in the ini file and can be set to the number of seconds before the cookie expires.
Setting this value to a value = 0 disables setting the zraytok cookie.
Default value is 60 seconds.
Optimized ZendHQ PHP extension tracing functionality
Now the ZendHQ PHP extension becomes globally disabled if all the individual tracing functions (like Z-Ray, Monitoring and Code Tracing) are disabled.
It is still possible to use the Job Queue PHP API.
Optimized Code Tracing in the ZendHQ PHP extension.
Code Tracing is now active only when requested manually or when at least one monitoring rule requires it. If Code Tracing is not requested or there are no monitoring rules with a Code Trace action, then Code Tracing stays inactive in order to improve PHP performance.
Fixed a bug in the ZendHQ PHP extension that prevented Apache2 to reload.
ZendHQ PHP extension has a limited number of global resources. The number of in-use resources was not reset when the PHP extension was re-initialized.
In addition, a bug in zeromq caused worker processes to hang indefinitely in MSHUTDOWN.
tar.gz file: tar xzvf filename.tar.gz.dmg file by double-clicking on it.--ignore and --exclude-file/ instead of \\, or not full paths) does not work with --ignore and --exclude-file (Windows only)stdClass gives a blank output when a file is encodedmbstring.func_overload with obfuscation requires exporting functions that are overloaded.Iterator) requires exporting interface methods$func(), or calling a PHP internal function to access a class/function as a variable, such as call_user_func($func), etc.--export-php may not automatically export some SPL iterator classesExtract the Zend Loader package that corresponds with your PHPversion and OS arch (the package also contains an OPcache binary).
Place the ZendGuardLoader and OPcache binaries in your filesystem.
Add the following lines to your php.ini file for loading the ZendGuardLoader:
Linux and Mac OS X:
zend_extension=
zend_extension=
Windows non-thread safe:
zend_extension=
zend_extension=
Note: The supplied OPcache replaces your current OPcache binary in order to allow correct extension loading.
Note: Execute the Loader command first
Optional: Add an additional line to your php.ini for enabling ZendGuardLoader
; Enables loading encoded scripts. The default value is On
zend_loader.enable=1
Optional: the following lines can be added your php.ini file for ZendGuardLoader configuration:
; Disable license checks (for performance reasons)
zend_loader.disable_licensing=0
; The Obfuscation level supported by Zend Guard Loader. The levels are detailed in the official Zend Guard Documentation. 0 - no obfuscation is enabled
zend_loader.obfuscation_level_support=3
; Path to where licensed Zend products should look for the product license. For more information on how to create a license file, see the Zend Guard User Guide
zend_loader.license_path=
Restart your web server.
Check that loader and OPcache are both loaded using phpinfo() ) or php -v.
Run your encoded files.
Extract the Zend Loader package that corresponds with your PHP version and OS arch.
Locate the /usr/local/zend/lib/php_extensions folder and overwrite opcache.so while adding in ZendGuardLoader.so
Open your /usr/local/zend/etc/conf.d/opcache.ini file.
Before the directive zend_extension=/usr/local/zend/lib/php_extensions/opcache.so, add the following line (at the very beginning of the file):
zend_extension=/usr/local/zend/lib/php_extensions/ZendGuardLoader.so
Restart Zend Server (/usr/local/zend/bin/zendctl.sh restart).
If all is well,the Zend Guard Loader section will be present on the Overview -> Server Info page
Extract the Zend Loader package that corresponds with your PHP version and OS arch.
Locate the C:\Program Files (x86)\Zend\ZendServer\lib\phpext folder, and overwrite php_opcache.dll while adding in ZendLoader.dll.
Open your php.ini file.
Locate the OPcache section starting with the directive zend_extension="C:\Program Files (x86)\Zend\ZendServer\lib\phpext\php_opcache.dll". Add the following line into your php.ini file just before the located opcache directive (at the very beginning of OPcache section):
zend_extension="C:\Program Files (x86)\Zend\ZendServer\lib\phpext\ZendLoader.dll"
Restart Zend Server.
Restart apache from apache monitor
If all is well,the Zend Guard Loader section will be present on the Overview -> Server Info page
--ignore and --exclude-file/ instead of \\, or not full paths) does not work with --ignore and --exclude-file (Windows only)stdClass gives a blank output when a file is encodedmbstring.func_overload with obfuscation requires exporting functions that are overloaded.Iterator) requires exporting interface methods$func(), or calling a PHP internal function to access a class/function as a variable, such as call_user_func($func), etc.--export-php may not automatically export some SPL iterator classesDouble-click on the self-extracting archive, and follow the instructions in the automated installation wizard.
tar.gz file: tar xzvf filename.tar.gz./ZendGuard.bin) and follow the instructions in the installation wizard..dmg file by double clicking on it.ZendGuardLoader_for_PHP54.exe setup to add loader to your PHP54 Zend Server/usr/local/zend/etc/conf.d/loader.inizend_extension_manager.dir.loader=/usr/local/zend/lib/loaderZendGuardLoader-70429-PHP-5.4-darwin10.7-x86_64.zip, unzip, and follow readme instructionsKnown issue for all above: Zend Guard loader will not be displayed in Zend Server UI
--ignore and -–exclude-file/ instead of \\, or not full paths) does not work with --ignore and --exclude-file (Windows only)stdClass gives a blank output when a file is encodedmbstring.func_overload with obfuscation requires exporting functions that are overloaded.$func(), or calling a PHP internal function to access a class/function as a variable, such as call_user_func($func), etc.--export-php may not automatically export some SPL iterator classestar.gz file: tar xzvf filename.tar.gz./ZendGuard.bin), and follow the instructions in the installation wizard..zip or .dmg file by double clicking on it.Update to Zend Studio 13 or newer from older versions is not supported on Mac OS X. New installation of Zend Studio 13 or newer is required. If an update is attempted, this will corrupt the Zend Studio installation.
During update of Studio a security warning about unsigned content may be shown. You can safely ignore this warning and proceed with the upgrade.
Z-Ray may not render correctly inside Zend Studio on Windows. A workaround can be applied in one of the following alternative ways:
Add the following line in the httpd.conf file:
Header add X-UA-Compatible "IE=edge"
Restart the Apache HTTP Server.
Reopen the web browser inside Zend Studio.
Add the following line in a suitable place in your PHP code:
header("X-UA-Compatible: IE=edge");
Reopen the web browser inside Zend Studio.
In Zend Server 8 and later Z-Ray will automatically add the "X-UA-Compatible: IE=edge" HTTP header in the response, so the above workaround will not be required.
Zend Debugger PHP extension is not available for PHP builds with Thread Safety enabled. You can find out the status of Thread Safety in your PHP:
phpinfo() outputPHP_ZTS ("false" means Non Thread Safe, i.e. supported by Zend Debugger)If you use Thread-Safe PHP, consider Xdebug as the alternative.
Zend Studio Crashes with Segmentation Fault in KDE 4.11 and newer, see http://kb.zend.com/zend-studio-crashes-with-segmentation-fault-in-kde-4-11
Zend Studio menus do not show or appear only partially in the menu bar of Ubuntu 13.10 and 14.04. The issue is caused by Ubuntu's bug https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1208019. See http://kb.zend.com/zend-studio-menu-does-not-work-on-ubuntu-13-10/
To display class inheritance charts in the documentation generated by PHPDocumentor installation of Graphviz is required. Due to compatibility issues, please install
JAVA_HOME environment variable set (i.e. C:\Program Files (x86)\Java\jdk1.7.0_45)%JAVA_HOME%\bin is added to system path (http://www.java.com/en/download/help/path.xml)Update to Zend Studio 13 or newer from older versions is not supported on Mac OS X. New installation of Zend Studio 13 or newer is required. If an update is attempted, this will corrupt the Zend Studio installation.
CordovaSim requires manual configuration of JRE (Mac OS X only). For some reason the Eclipse Platform on Mac OS X does not automatically configure the JRE that runs Studio. Users must manually configure it in the Java > Installed JREs preference page.
Reset Perspective may be required after installation of the Terminal plugin. This is required in case it does not appear in the Show In context menu.
During update of Studio a security warning about unsigned content may be shown. You can safely ignore this warning and proceed with the upgrade.
Z-Ray may not render correctly inside Zend Studio on Windows. A workaround can be applied in one of the following alternative ways:
X-UA-Compatible: IE=edge HTTP header in the response. If Zend Server is running on Apache HTTP Server then:
Add the following line in the httpd.conf file:
Header add X-UA-Compatible "IE=edge"
Restart the Apache HTTP Server.
Reopen the web browser inside Zend Studio.
Add the following line in a suitable place in your PHP code:
header("X-UA-Compatible: IE=edge");
Reopen the web browser inside Zend Studio.
In Zend Server 8 and later Z-Ray will automatically add the "X-UA-Compatible: IE=edge" HTTP header in the response, so the above workaround will not be required.
Zend Debugger PHP extension is not available for PHP builds with Thread Safety enabled. You can find out the status of Thread Safety in your PHP:
phpinfo() outputPHP_ZTS ("false" means Non Thread Safe, i.e. supported by Zend Debugger)
If you use Thread-Safe PHP, consider Xdebug as the alternative.Zend Studio Crashes with Segmentation Fault in KDE 4.11 and newer, see http://kb.zend.com/zend-studio-crashes-with-segmentation-fault-in-kde-4-11
Zend Studio menus do not show or appear only partially in the menu bar of Ubuntu 13.10 and 14.04. The issue is caused by Ubuntu's bug https://bugs.launchpad.net/ubuntu/+source/eclipse/+bug/1208019. See http://kb.zend.com/zend-studio-menu-does-not-work-on-ubuntu-13-10/
To display class inheritance charts in the documentation generated by PHPDocumentor installation of Graphviz is required. Due to compatibility issues, please install: