Zend Server Install / Uninstall Requires 'which' Command (FIXED)


This article is also available in our new Knowledge Base:

Zend Server Install / Uninstall Requires 'which' Command (FIXED)


Applies to:
Zend Server 8.x
Linux (Specifically Reported under CentOS 7)
Current CentOS 7 image for Docker

Fixed in:
Zend Server 9.0


When installing Zend Server using the Linux installer, you might get this error:

"Your system doesn't support either dpkg or rpm"

When running uninstall.sh to remove Zend Server, you might get this error:

"/usr/local/zend/bin/uninstall.sh: line 66: which: command not found"


Install 'which' command and run the installation / uninstall again.


This was resolved in Zend Server 9.0, by removing dependency of 'which' package from installation scripts.

Tags: ZSRV-14145 ZSRV-16353 Linux Install Which