Package Conflict Errors When Installing Zend Server Cluster Manager on RedHat Based Systems


When installing Zend Server Cluster Manager on versions 5.0 to 5.2 of RHEL, CentOS or Oracle Enterprise Linux systems, the following error indicating there is a conflict may appear:

# yum install zend-server-cluster-manager
Error: php-5.2-fcgi-zend-server conflicts with php-5.3-fcgi-zend-server
Error: php-5.3-fcgi-zend-server conflicts with php-5.2-fcgi-zend-server

Technical Details

Since PHP 5.2 and PHP 5.3 FastCGI packages depend on different libcurl versions, the YUM installer should choose the correct package automatically. However, due to a bug in the older versions of YUM, the installation will fail with a conflict.

This problem only applies to versions 5.0 to 5.2 of RHEL, Centos and Oracle Enterprise Linux, and is no longer relevant since version 5.3.

Resolution / Workaround

The simple workaround to this problem is to explicitly specify the correct curl package as part of the yum command to prevent the possible conflict:

# yum install zend-server-cluster-manager php-5.2-curl-zend-server

Alternatively, upgrade the affected OS to version 5.3 or later before installing Zend Server Cluster Manager, to prevent this error from occurring.