...
2. Update the license on the file system:
Zend Server 2019:
Open <ZS_INSTALL_DIR>\ZendServer\etc\ZendGlobalDirectives.ini in a file editor and update the following lines:
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:
zend.user_name=your Order Number
zend.serial_number=your License Key
3. Execute the following queries on the database:
Zend Server 2019:
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:
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 | All Programs | Zend Server | Support Tool | Select "Start" | Click "Next" | Click "Yes" (in case of cluster, do this on all nodes).
...