Updating php redhat 9
Maria DB is compatible with My SQL and I've chosen to use Maria DB here instead of My SQL.
Run this command to install Maria DB with yum: yum -y install mariadb-server mariadb Then we create the system startup links for My SQL (so that My SQL starts automatically whenever the system boots) and start the My SQL server: systemctl start mariadb.servicesystemctl enable mariadb.service Set passwords for the My SQL root account: mysql_secure_installation
yum -y install yum-utils and run yum update yum update Now you have to chose which PHP version you want to use on the server.Located at /usr/sbin/php-fpm, it is controlled using the /etc/init.d/php-fpm service script Contained in the php56w-phpdbg package, phpdbg has the ability to debug scripts using breakpoints from the command-line, and also supports remote-debugging using an external Java client for remote communication.(thread safety) Contained in the php56w package, this SAPI integrates into Apache Httpd (2.2.* on RHEL/Cent OS 6, 2.4.* on RHEL/Cent OS 7).To install, first you must add the Webtatic EL yum repository information corresponding to your Cent OS/RHEL version to yum: Cent OS/RHEL 7.x: See the package list below for additional SAPIs and PHP extensions.This will install the mod_php SAPI for PHP, however there are other sapis such as php-fpm (via php56w-fpm package).