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

前端 未结 9 865
一整个雨季
一整个雨季 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 07:57

    I just had the same problem and realised they were two folders in my /etc/php/7.0, which were apache2 and cli. Turned out the extension line in cli/php.ini was uncommented with the dll file, not the one in apache2 directory. Commenting it just solved the problem.

提交回复
热议问题