
Bismillah...
sudo yum install -y httpd
sudo systemctl enable httpd sudo systemctl restart httpd
sudo firewall-cmd --add-service=http --permanent sudo firewall-cmd --reload
dnf module list php sudo dnf module reset php sudo dnf install @php:7.4 sudo dnf install php-mysqli
setsebool -P httpd_can_network_connect_db 1
chown -R apache:apache * # if you have folder to store uploaded file (optional) sudo chcon -R -t httpd_sys_rw_content_t docsuploaded find /var/www/html -type d -exec chmod 755 {} \; find /var/www/html -type f -exec chmod 644 {} \; systemctl restart httpd
yum install https://dev.mysql.com/get/mysql84-community-release-el8-1.noarch.rpm yum-config-manager --disable mysql-8.4-lts-community yum-config-manager --disable mysql-tools-8.4-lts-community yum-config-manager --enable mysql80-community yum-config-manager --enable mysql-tools-community yum repolist enabled | grep mysql sudo yum module disable mysql yum install mysql-community-server
systemctl start mysqld systemctl status mysqld
sudo grep 'temporary password' /var/log/mysqld.log
Buy Me A Coffee
The above is the detailed content of Installing Apache, PHP, and MySQL on Oracle Linux 8. For more information, please follow other related articles on the PHP Chinese website!
String array assignment method
How to use HttpCanary packet capture tool
How to use a few thousand to make hundreds of thousands in the currency circle
What are the tips for using dezender?
How to close app resource library
How to open csv format file
The role of Apple's Do Not Disturb mode
The main components that make up the CPU