I have a bootstrap website that runs on Debian 10 - php 7.4.25, httpd 2.4.52, mysqld 15.1 Distrib 10.5.12 which works perfectly.
I copied it to my CentOS 7 box, which has selinux running as permissive (temporarily). Php version is 7.4.26, Apache version is 2.4.6 and mariadb is version 15.1 Distrib 5.5.68-Mariadb.
When I try to run the site on CentOS 7, I get an error "call to a member function fetch_assoc() on bool" when I try to get data via mysql search. If I do the search manually via the cli, it works perfectly. I believe this must be a package program, but I've install the php74-mysql package as well as php74-php-pecl-mysql package.
Does anyone have any ideas? Thanks