Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php53/modules/mailparse.so' - /usr/lib64/php53/modules/mailparse.so: cannot open shared object file: No such file or directory in Unknown on line 0

How can we fix this this issue?

share|improve this question

3 Answers 3

You probably have that module enabled in php.ini file. Disable it from there, or if you actually need the mailparse module, install it.

share|improve this answer

If you have actually already installed the mailparse module, it may be installed under a different path to where php.ini expects it to be. You can use locate mailparse.so to find it or, if you have only recently installed it, find /usr -name 'mailparse.so'.

Once you find it, you can change the path in your php.ini to match where it is or symlink where php.ini thinks it is to the correct location.

share|improve this answer

Reinstall the module via PECL by typing pecl install mailparseand follow the instructions.

As mentioned above somewhere in your *.ini-files (check /etc/php5/conf.d) is a line that looks like this: extension=mailparse.so. If you don't need that add a semicolon infront to deactivate it.

Lastly if you find that module existend (with the commands written down by Ladadadada), you can try and adjust the path in that ini-file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.