1

Topic: Missing dependency php-api

iRedmail fails to complete installation on CentOS release 5.5 (Final)

yum clean all

iRedMail-0.7.0-rc1

bash iRedMail.sh --skip-broken
and
bash iRedMail.sh

I have resolved all other dependency issues, except for the following errors:

php-mhash-5.2.9-2.el5.centos.3.i386 from iRedMail has depsolving problems
  --> Missing Dependency: php-api = 20041225 is needed by package php-mhash-5.2.9-2.el5.centos.3.i386 (iRedMail)

php-mcrypt-5.2.9-2.el5.centos.3.i386 from iRedMail has depsolving problems
  --> Missing Dependency: php-api = 20041225 is needed by package php-mcrypt-5.2.9-2.el5.centos.3.i386 (iRedMail

Error: Missing Dependency: php-api = 20041225 is needed by package php-mhash-5.2.9-2.el5.centos.3.i386 (iRedMail)

Error: Missing Dependency: php-api = 20041225 is needed by package php-mcrypt-5.2.9-2.el5.centos.3.i386 (iRedMail)

I cannot seem to get any work around to correct this.

Thank you.

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Missing dependency php-api

That's strange. I got this:

---> Package php-mcrypt.i386 0:5.2.9-2.el5.centos.3 set to be updated
---> Package php-mhash.i386 0:5.2.9-2.el5.centos.3 set to be updated
--> Processing Dependency: libmhash.so.2 for package: php-mhash

Do you already have some php packages installed? if so, try to remove them then reinstall iRedMail if possible.

3

Re: Missing dependency php-api

ZhangHuangbin wrote:

That's strange. I got this:

---> Package php-mcrypt.i386 0:5.2.9-2.el5.centos.3 set to be updated
---> Package php-mhash.i386 0:5.2.9-2.el5.centos.3 set to be updated
--> Processing Dependency: libmhash.so.2 for package: php-mhash

Do you already have some php packages installed? if so, try to remove them then reinstall iRedMail if possible.


YES!
I have customers using sites (http) that must use the php, apparently, I will try this after their work hours.
Thanks for the tip!

Bob