I am trying to use mysqli to connect to my MySQL database using mysqli_connect(). However, whenever I grab a reference to my .php file that attempts to connect to the database, it throws a fatal error:
Fatal error: Uncaught Error: Call to undefined function mysqli_connect()
I read that you must delete a semi-colon from php.ini, but my PHP7 folder does not contain a strictly php.ini file. It only has php.ini-development and production; deleting the semi-colons for anything related to mysqli does nothing. For the record, I am also not using XAMPP, or any web server applications of the likes. Instead, I am using PHP's command to run a server:
php -S localhost:8000
I am not sure if that has anything to do with it. Furthermore, when I run phpinfo(), it states:
Loaded Configuration File (none)
How do I get mysqli to work?