php script, run on ubuntu system, it costs php7, when you try to start the script with php script.php it gives an error
PHP 7 Fatal error: Call to undefined function mysqli_connect () on line 11
line 11 here:
$connect_to_db = mysqli_connect($domain, $username, $password, $db) what could be the problem? If you run the same script through the web, it works
extension=mysqli.so(approximate view) and restart php. - Visman