Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am receiving this error in apache error log during httpd restart process.

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/php_mbstring.dll' - /usr/lib64/php/modules/php_mbstring.dll: cannot open shared object file: No such file or directory in Unknown on line 0

I already installed php_mbstring previously

yum install php-mbstring

Package php-mbstring-5.3.10-1.15.amzn1.x86_64 already installed and latest version

In the /usr/lib64/php/modules/ I don't see php_mbstring.dll

share|improve this question
up vote 1 down vote accepted

Dlls (Dynamic Loadable Library) is being used only in Windows. For Linux (and BSD and probably most of unix-like OS'es) you have .so (shared object) instead. You probably need to change .dll to .so in php.ini or one of files included in it (it may be something like /etc/php.d/mbstring.ini or something similar).

Also, you can find path of .so file by running rpm -ql php-mbstring - it will list all files belonging to package.

share|improve this answer
thank you! that was it. – Maca Feb 28 '12 at 9:08

Your Answer


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.