Installation of Zend Server 9 Fails on Windows Server 2012 R2


This article is now available in our new Knowledge Base: Installation of Zend Server 9 Fails on Windows Server 2012 R2


Applies To

Zend Server 9

Windows Server 2012 R2



On Windows Server 2012 R2, the installation of Zend Server 9 fails with the following error message in zend_setup.log:

[1-16-2017 15-54-32] Configuring databases...
[1-16-2017 15-54-32] "D:\Zend\ZendServer\bin\php-cgi.exe" -d display_startup_errors=0 -c "D:\Zend\ZendServer\etc\php.ini" "D:\Zend\ZendServer\share\scripts\zs_create_databases.php" toVersion=9.0.1 zsDir="D:\Zend\ZendServer"
[1-16-2017 15-54-32] FAIL: -d display_startup_errors=0 -c "D:\Zend\ZendServer\etc\php.ini" "D:\Zend\ZendServer\share\scripts\zs_create_databases.php" toVersion=9.0.1 zsDir="D:\Zend\ZendServer" failed, returned -1073741515 check D:\Zend\ZendServer\logs\zs_create_db.log
[1-16-2017 15-54-32] executeUpgradeDB returns -1073741515, failing setup
[1-16-2017 15-54-32] ERROR: Failed running zs_create_databases.php! (-1073741515). Please check D:\Zend\ZendServer\logs\zs_create_databases.log
[1-16-2017 15-54-32] Zend Server encountered some problems while configuring the database and could not be installed. Please refer to the Zend Support Center at for further assistance.



The Universal C Runtime (CRT) version, included in Windows Server 2012 R2, is outdated and causes the Zend Server 9 installation to fail. Applications built using the Windows 10 Software Development Kit (SDK) and depending on Windows 10 Universal CRT don't function properly on Windows Server 2012 R2.



To resolve the error, an update for Universal C Runtime in Windows is required:

Apparently, this package isn't always installed during the automatic Windows Update. Therefore, in order to solve the installation issue, it needs to be installed manually, together with its prerequisites:

1. Uninstall the failed Zend Server 9 installation from Control Panel.

2. Delete the \Apache24 and \ZendServer directories from the Zend Server 9 installation folder (by default C:\Program Files (x86)\Zend).

3. Download the following updates:

4. Install the downloaded updates in the following order:

  • KB2919442
  • clearcompressionflag.exe
  • KB2919355 (reboot when prompted)
  • KB2999226

5. Install Zend Server 9.