容器技术交流

 找回密码
 立即注册
查看: 4991|回复: 3

location ~ .*\.(php|phtml?)?$ {

[复制链接]
发表于 2011-1-7 20:47:31 | 显示全部楼层 |阅读模式
一套phtml的程序不能执行。。。。。以前单独配置nginx的时候可以运行。。。
发表于 2011-1-7 21:08:48 | 显示全部楼层
OK
发表于 2011-1-7 21:13:01 | 显示全部楼层
你改一下
/usr/local/LuManager/Tpl/App/vhost_nginx_tpl.html文件,再重新编辑一下主机便可
 楼主| 发表于 2011-1-8 01:17:59 | 显示全部楼层
搞定了,谢谢洞哥。。。。还要编辑那个enable_php.conf 这两个都搞定才能解析phtml等其他后缀的php程序
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Archiver|URLOS ( 粤ICP备18087780号 )

GMT+8, 2025-5-12 10:08 , Processed in 0.025251 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表