PHP 5.3 Conflicts On Red Hat

From KnowledgeTree Community

Jump to: navigation, search



What is the problem?

Installing KnowledgeTree 3.7 on a Red Hat server can sometimes encounter a conflict if Zend Server installs PHP 5.3.  In this case, the user will see conflicts similar to these when running the install script.


--> Processing Conflict: php-5.3-fileinfo-zend-server conflicts php-5.2-fileinfo-zend-server

--> Processing Conflict: php-5.2-fileinfo-zend-server conflicts php-5.3-fileinfo-zend-server

--> Processing Conflict: mod-php-5.3-apache2-zend-server conflicts mod-php-5.2-apache2-zend-server

--> Processing Conflict: mod-php-5.2-apache2-zend-server conflicts mod-php-5.3-apache2-zend-server

--> Finished Dependency Resolution

mod-php-5.3-apache2-zend-server-5.3.1-30.i386 from Zend has depsolving problems


Steps to perform



1. Stop Zend Server

# zendctl.sh stop 


2. Uninstall Zend Server PHP 5.2

# yum -y remove zend-server-php-5.2 && yum -y remove `rpm -qa|grep zend|xargs`


3. Uninstall Zend Server PHP 5.3

# yum -y remove zend-server-php-5.3 && yum -y remove `rpm -qa|grep zend|xargs` 


4. Do a "yum clean all" to clean the rpmdb

# yum clean all


5. Install KnowledgeTree again excluding any Zend Server PHP 5.3 calls

# yum install knowledgetree --exclude="zend-server-php-5.3, mod-php-5.3-apache2-zend-server"


The install should proceed as expected.


6. Do a "yum clean all" to clean the rpmdb

# yum clean all




Applies to Version/s

Personal tools