PHP Startup Unable to load dynamic library /usr/lib/php/20151012/php_mysqli.dll

前端 未结 9 760
一整个雨季
一整个雨季 2021-01-04 07:32

I have ubuntu 14.04 EC2 instance. I have installed php 7 on it. when I execute any php command like php --version or any other. I get following error

PHP War         


        
相关标签:
9条回答
  • 2021-01-04 08:20

    In php.ini under Dynamic Extensions the line extension=php_mysqli.dll was enabled.

    I disabled it by adding a semi-colon at the head of the line ;extension=php_mysqli.dll.

    Saved and exited php.ini. Restarted Apache.

    This resolved the error for me.

    0 讨论(0)
  • 2021-01-04 08:21

    Run Phpinfo() Search for your php.ini path

    search extension=php_mysqli.so

    comment like this

    ;extension=php_mysqli.so
    
    0 讨论(0)
  • 2021-01-04 08:21

    Just comment out all lines with .dll extensions because you are on Ubuntu. Ubuntu support .so files.

    0 讨论(0)
提交回复
热议问题