PHP Startup: Unable to load dynamic library /usr/lib/php/20151012/

You need to do the following steps to fix it. You need to change php version and library file name in the following command.


    Find the files which is trying to load this library ( or any other )

    grep -Hrv ";" /etc/php/7.0 | grep -E "extension(\s+)?=" | grep mcrypt 
  2. Then comment out the line in those files and restart apache



Leave a Comment

Your email address will not be published. Required fields are marked *