NGINX发布动态页面的方法

一、建立

root@server100 html\]# vim index.php ![](https://file.jishuzhan.net/article/1784917607623692289/6a0e1752fd9ca0efdff56066ec56638d.webp) \[root@server100 html\]# pwd /usr/share/nginx/html 二、下载PHP文件 \[root@server100 conf.d\]# dnf install php.x86_64 -y 正在更新 Subscription Management 软件仓库。 无法读取客户身份 本系统尚未在权利服务器中注册。可使用 subscription-manager 进行注册。 上次元数据过期检查:17:56:23 前,执行于 2024年04月27日 星期六 18时22分55秒。 软件包 php-8.0.27-1.el9_1.x86_64 已安装。 依赖关系解决。 无需任何处理。 完毕! \[root@server100 conf.d\]# cd ../default.d/ \[root@server100 default.d\]# ls php.conf \[root@server100 default.d\]# vim php.conf \[root@server100 default.d\]# systemctl restart nginx.service ![](https://file.jishuzhan.net/article/1784917607623692289/61edcd781b7d62f06cf3862ab6484799.webp)

相关推荐
yt948323 小时前
Docker-基础(数据卷、自定义镜像、Compose)
运维·docker·容器
水银嘻嘻5 小时前
web 自动化之 KDT 关键字驱动详解
运维·自动化
Vone_665 小时前
node.js 邮箱验证服务器搭建
运维·服务器·node.js
丢丢丢丢丢丢~6 小时前
apache2的默认html修改
linux·运维·服务器
wusam6 小时前
Linux系统管理与编程20:Apache
linux·运维·服务器·apache·shell编程
ChironW6 小时前
Ubuntu 24.04 LTS系统上配置国内时间同步
linux·运维·服务器·ubuntu
TPBoreas6 小时前
排查服务器内存空间预警思路
运维·服务器
*郑*7 小时前
nginx配置反向代理后端
运维·nginx
Web极客码8 小时前
虚拟主机与独立服务器:哪个更好?
运维·服务器·虚拟主机
小突突突8 小时前
个人博客系统测试报告
运维·网络·功能测试