Unable to load dynamic library mhash.so
I’ve been procrastinating on fixing this annoying error from PHP on Ubuntu 10.04:
PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/lib/php5/20090626/mhash.so’ – /usr/lib/php5/20090626/mhash.so: cannot open shared object file: No such file or directory in Unknown on line 0
The fix is to purge the mhash package:
sudo dpkg -P php5-mhash
Had I only known the fix was this simple, I would’ve fixed it much sooner.
Here is the official bug report:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/541439
Thanks man, very helpful!
siyman said this on March 15, 2013 at 3:26 am |
thanks so much…get the exact same error after the linux version upgrade. it’s fixed the warning simply~
ED said this on March 24, 2014 at 8:53 am |