Search…
ENGLISH
mysqli does not work
Uncaught Error: Call to undefined function mysqli_connect() in /workspace/php_study/index.php:
If mysqli does not working with the above error message, Install the package (php7.3-mysql) for mysqli and run again.
Please enter the command below to install:
1
sudo add-apt-repository ppa:ondrej/php
2
sudo apt-get update
3
sudo apt-get install php7.3-mysql
Copied!
Last modified 1yr ago
Copy link