To update this answer for lost souls in 2020, with a RHEL 8 fresh install loaded with PHP 7.2, in order for the PDO driver for mysql to show up in the phpinfo() page, two packages must be installed:
yum -y install php-pdo php-mysqlnd
The official RHEL images in Amazon AWS are provided and maintained by Red Hat themselves.
Red Hat runs its own update infrastructure within every AWS region so that you can get official updates.
From the Frequently Asked Questions about RHEL on AWS:
Red Hat Enterprise Linux on Amazon EC2 is maintained by Red Hat and is identical to the version of Red Hat ...
CentOS and RHEL are actually different, despite one being "clone" of the other.
The canonical name for the repository in question is actually CodeReady Linux Builder.
However, it is trademarked, and as such, in CentOS it has a different name - PowerTools.
Since you are using RHEL, you should enable CodeReady Linux Builder repository:
I was able to get it to work by creating an override file for the mariadb systemd service and adding
ExecStart=/usr/bin/mysqld_safe --defaults-file=/nfspath/%H_my.cnf --basedir=/usr
Just to clarify, the --defaults-file option has to be the first argument in the line, it would not work otherwise. Thank you again for both of your inputs!
In addition to the rule that allows passwordless sudo for specific commands, you also need some other sudo rule which allows your user to run ALL commands with sudo.
The default sudo config allows users in the wheel group to run ALL commands with sudo (after supplying a password) and users who should have such access should be placed in this group.
# usermod ...
You can log in to your Red Hat account and download the SRPM (source code RPM) package for any package for which you have a valid subscription. These contain the original source code for the software and all of the patches Red Hat applied to it.
Click on Downloads, then choose the product you want to obtain source code for, then click Packages to download ...
All RPM packages are built from SRPM , source code packages which you can download.
Those SRPM packages typically contain among others a pristine source code release downloaded from an upstream open source project as well as all (code) changes / additions made by the package maintainer (Red Hat).