PHP Warning: Unable to load dynamic library

Are you getting the PHP error below when loading any php website or script in CentOS?

It seems there are slight error in CentOS during PHP mcrypt installation. To fix the problem, follow the step below;

1. go to PHP setting directory

2. Edit the config file mcrypt.ini with your favorite editor

3. Change to

Restart your apache service and boom, the error message is gone. I guess it should be fat finger error by the person who committed the code 😉