After installing MySQL 5.7.22 and PHP 7.1.17 on Fedora 27, you
need to install the mysqli library. You need to
verify if the mysqli library is installed. You can
do that with the following mysqli_check.php program:
Check mysqli Install<?php if (!function_exists('mysqli_init') && !extension_loaded('mysqli')) {
print 'mysqli not installed.'; }
else {
print 'mysqli installed.'; }
?>
You test preceding PHP program with the following URL in a browser:
http://localhost/mysqli_check.php
If the mysqli program isn’t installed, you can
install it as follows by opening the yum interactive
shell:
[root@localhost html]# yum shell Last metadata expiration check: 1:26:46 ago on Wed 22 Aug 2018 08:05:50 PM MDT. > remove php-mysql No match for argument: php-mysql Error: No packages marked for removal. > install php-mysqlnd > run …[Read more]