Install PHP 7.4 on CentOS 7

To install PHP 7.4 on CentOS 7, first install remi repository. yum install epel-release -y rpm -ivh https://rpms.remirepo.net/enterprise/remi-release-7.rpm Set PHP 7.4 as default PHP yum install yum-utils yum-config-manager –enable remi-php74 Install PHP with yum install -y php php-bcmath php-cli php-common php-devel php-gd \ php-imap php-intl php-json php-ldap php-lz4 php-mbstring php-mysqlnd \ php-soap php-intl php-opcache php-xml … Read more

Install MySQL 8 on CentOS, RHEL 6/7

To Add MySQL yum repository to your server, go to https://dev.mysql.com/downloads/repo/yum/ Download the rpm file available. For RHEL/CentOS 7 wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm rpm -ivh mysql80-community-release-el7-3.noarch.rpm For RHEL/CentOS 6 wget https://dev.mysql.com/get/mysql80-community-release-el6-1.noarch.rpm rpm -ivh mysql80-community-release-el6-1.noarch.rpm Installing MySQL Server yum install mysql-community-server Stop/Start MySQL To stop/start MySQL, use service name “mysqld”. systemctl start mysqld systemctl stop mysqld systemctl restart … Read more