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
If you are on Linux, you shouldn't have DLL files but SO files. So first, you have to remove / disable the php_mysqli.dll you added in php.ini.
In order to use mysqli, you should then :
apt-get install php-mysql
phpinfo()
for example)/etc/php/mods-available/
folder if there is a mysqli.ini
, containing extension=mysqli.so
, then check for CLI / FPM / Apache / other if there is the symbolic link pointing to this file (for example for CLI, in /etc/php/cli/conf.d/
: 20-mysqli.ini -> ../../mods-available/mysqli.ini
)