配置OK后最终运行效果是这样的
在php8.0.9通过源码编译成功并安装后,安装nginx服务器然后配置,
在配置中添加index.php操作如下图
接着增加php文件解释与权限设置,操作如下图
注:nginx配置文件路径在:/etc/nginx/sites-enabled/default:
default文件完整内容:
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to