PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/msqli.so'

后端 未结 2 919
离开以前
离开以前 2021-01-28 07:34

Looked at all the articles on search for this and no answers that work -- on Ubuntu 16.04 I\'m getting:

PHP Warning:  PHP Startup: Unable to load dynami         


        
2条回答
  •  孤街浪徒
    2021-01-28 08:06

    Solved it with help from this post.

    Changed php.ini:

    extension=/usr/lib/php/20151012/mysqli.so
    extension=/usr/lib/php/20151012/mysqlnd.so
    

    to

    extension=/usr/lib/php/20151012/mysqlnd.so
    extension=/usr/lib/php/20151012/mysqli.so
    

    ie: reversed the order of the 2 entries to put mysqlnd.so first.

    Now I am all happy and telecomputing with alacrity and enthusiasm.

提交回复
热议问题