
比斯米拉...
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
请我喝杯咖啡
Gyb2b V1.01免费版可终身使用,是一款功能强大的B2B电子商务应用软件。该软件不仅更新和修改了V1.0相关功能,更是采用了目前互联网上最流行的LAMP组合(Linux+Apache+Mysql+PHP)开发完成,模板技术实现了界面与代码的有效分离,用户可以快速地在此基础上编译模板;提供B2B电子商务应用最常见的求购、供应、商品、公司库、行业资讯、商圈、资信认证、在线交易、交易评分、留言、搜
0
以上就是在 Oracle Linux 8 上安装 Apache、PHP 和 MySQL的详细内容,更多请关注php中文网其它相关文章!
PHP怎么学习?PHP怎么入门?PHP在哪学?PHP怎么学才快?不用担心,这里为大家提供了PHP速学教程(入门到精通),有需要的小伙伴保存下载就能学习啦!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号