1

Topic: Yum update - PHP 5.2

After running yum update this morning I am seeing warning in my httpd error log. PHP was updated  5.1 to 5.2 from iRedMail repo

PHP Warning:  PHP Startup: fileinfo: Unable to initialize module\nModule compiled with module API=20050922, debug=0, thread-safety=0\nPHP    compiled with module API=20060613, debug=0, thread-safety=0\nThese options need to match\n in Unknown on line 0

output:
php -v
PHP Warning:  PHP Startup: fileinfo: Unable to initialize module
Module compiled with module API=20050922, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
in Unknown on line 0
PHP 5.2.10 (cli) (built: Nov 13 2009 11:24:03)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

----

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

2

Re: Yum update - PHP 5.2

Thanks for your feedback.

I commited PHP-5.2 from CentOS testing repository (http://dev.centos.org/centos/5/testing/) so that users can't upgrade Roundcube to 0.4.x manually, also, next version of iRedMail will use php-5.2.x on RHEL/CentOS by default.

To solve this issue, you can simply remove php-pecl-fileinfo.

3

Re: Yum update - PHP 5.2

I posted a topic in forum "News & Announcements" to help users avoid this issue:
http://www.iredmail.org/forum/topic1245 … itory.html

Again, thanks for your feedback. smile