Installasi PHP 7.3 On RHEL 8.1

Install PHP 7.3 On RHEL 8.1
===========================

dnf module list php
yum module enable php:7.3 -y
dnf install php php*

Setup Selinux Mysql
===========================
semanage port -a -t mysqld_port_t -p tcp 3307 –> Jika Ganti port
chcon -Rv system_u:object_r:mysqld_db_t:s0 /data/mysql
semanage fcontext -a -t mysqld_db_t “/data/mysql(/.*)?”
restorecon -Rv /data/mysql

SELinux Boolean Values
=======================
getsebool -a

setsebool [seboolean_module] [value]

setsebool httpd_can_network_connect on
setsebool httpd_can_network_connect_db on
setsebool mysql_connect_any on
setsebool mysql_connect_httpd on
setsebool -P allow_user_mysql_connect 1