...
1. Stop Zend Server using the command '/usr/local/zend/bin/zendctl.sh stop' (in case of cluster, do this on all nodes).
2. Open ZendGlobalDirectives.ini in a file editor and update the following lines. The path to this file varies depending on the Zend Server version that you're using:
Zend Server 2018 or earlier - /usr/local/zend/etc/conf.d/ZendGlobalDirectives.ini in a file editor and update the following lines:
Zend Server 2019 - /usr/local/zend/etc/ZendGlobalDirectives.ini
No Format |
---|
zend.user_name=your Order Number |
...
zend.serial_number=your License Key |
3. Execute the following queries on the database:
Zend Server 2019:
No Format |
---|
UPDATE ZSD_ZEND_COMMON_DIRECTIVES SET DISK_VALUE='OrderNumber' WHERE NAME='zend.user_name'; |
...
UPDATE ZSD_ZEND_COMMON_DIRECTIVES SET DISK_VALUE='LicenseKey' WHERE NAME='zend.serial_number'; |
Zend Server 2018 or earlier:
No Format |
---|
UPDATE ZSD_DIRECTIVES SET DISK_VALUE='OrderNumber' WHERE NAME='zend.user_name'; |
...
UPDATE ZSD_DIRECTIVES SET DISK_VALUE='LicenseKey' WHERE NAME='zend.serial_number'; |
Note: in the above commands, replace 'OrderNumber' and 'LicenseKey' with the actual license details.
...
4. Start Zend Server using '/usr/local/zend/bin/zendctl.sh start' (in case of cluster, do this on all nodes).
Windows
1. Stop Zend Server using Start using Start | All Programs | Zend Server | Support Tool | Select "Stop" | Click "Next" | Click "Yes" (in case of cluster, do this on all nodes).
...
Open <ZS_INSTALL_DIR>\ZendServer\etc\ZendGlobalDirectives.ini in a file editor and update the following lines:
No Format |
---|
zend.user_name=your Order Number |
...
zend.serial_number=your License Key |
Zend Server 2018 or earlier:
Open <ZS_INSTALL_DIR>ZendServer\etc\php.ini in a file editor and update the following lines:
No Format |
---|
zend.user_name=your Order Number |
...
zend.serial_number=your License Key |
3. Execute the following queries on the database:
Zend Server 2019:
No Format |
---|
UPDATE ZSD_ZEND_COMMON_DIRECTIVES SET DISK_VALUE='OrderNumber' WHERE NAME='zend.user_name'; |
...
UPDATE ZSD_ZEND_COMMON_DIRECTIVES SET DISK_VALUE='LicenseKey' WHERE NAME='zend.serial_number'; |
Zend Server 2018 or earlier:
No Format |
---|
UPDATE ZSD_DIRECTIVES SET DISK_VALUE='OrderNumber' WHERE NAME='zend.user_name'; |
...
UPDATE ZSD_DIRECTIVES SET DISK_VALUE='LicenseKey' WHERE NAME='zend.serial_number'; |
Note: in the above commands, replace 'OrderNumber' and 'LicenseKey' with the actual license details.
4. Start Zend Server using Start using Start | All Programs | Zend Server | Support Tool | Select "Start" | Click "Next" | Click "Yes" (in case of cluster, do this on all nodes).
...