Fileinfo doesn't work after upgrade

Hello everyone !

I upgraded my centOs server to PHP 5.4.41 from 5.3.29. Since then, the fileinfo.so extension isn’t working anymore. In fact, it’s not in the extension directory anymore after the upgrade. I keep getting this warning :

PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20100525/fileinfo.so’ - /usr/local/lib/php/extensions/no-debug-non-zts-20100525/fileinfo.so: cannot open shared object file: No such file or directory in Unknown on line 0

I reinstalled the package with pecl but it doesn’t seem to work. Can you please help me ?

https://pecl.php.net/package/Fileinfo

“Note: As of PHP 5.3.0 this extension is enabled by default and this PECL extension is no longer maintained and will contain no more releases.”

Sponsor our Newsletter | Privacy Policy | Terms of Service