Your advice generally worked, thanks. So just for others who have the same problem:
Ubuntu is on the debian branch:
So hence for distros on the blue line we’re using apt, not yum:
sudo apt-get install php-mysqlnd
Also yum is deprecated on the red line, right? it’s dnf now, right? So shouldn’t that be:
sudo dnf install php-mysqlnd
I’m just saying this response for others who search and have the same problem. Your answer fixed it for me.
thanks again,
sq