全球主机交流论坛

标题: debian7 安装lnmp1.0问题 [打印本页]

作者: dengdaisky520    时间: 2013-6-8 14:09
标题: debian7 安装lnmp1.0问题
我想问一下 我用debian安装完lnmp1.0之后  为什么用IP访问默认目录的探针可以检查到硬盘信息和内存。。
但是我用./vhost.sh创建一个目录之后 并且用主域名绑定之后 ,把目录权限设置为777.然后我把探针上传上去却无法显示硬盘,内存信息?这是为什么?关键是我上传文件解压之后无法访问  直接出现500错误  而以前0.9的版本却可以。这就让我非常郁闷了。
那位大神懂得能不能帮帮我

作者: 单手摘月    时间: 2013-6-8 14:12
提示: 作者被禁止或删除 内容自动屏蔽
作者: shuir    时间: 2013-6-8 17:49
提示: 作者被禁止或删除 内容自动屏蔽
作者: 1212    时间: 2013-6-8 17:51
官方有说明
为了禁止跨站,设置了目录访问权限

作者: dengdaisky520    时间: 2013-6-8 18:27
单手摘月 发表于 2013-6-8 14:12
找到php.ini

里面有个open_basedir

我是小白 请问php.ini在哪里啊?  还是那个open—basedir怎样去设置 万分感谢
作者: ICFOX    时间: 2013-6-8 18:30
百度
作者: dengdaisky520    时间: 2013-6-8 18:35
单手摘月 发表于 2013-6-8 14:12
找到php.ini

里面有个open_basedir

好不容易找到了  但是我不会搞啊  求赐教
我查找open—basedir   就出现
open_basedir, if set, limits all file operations to the defined directory
; and below.  This directive makes most sense if used in a per-directory
; or per-virtualhost web server configuration file. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/open-basedir
;open_basedir =

; This directive allows you to disable certain functions for security reasons.
; It receives a comma-delimited list of function names. This directive is
; *NOT* affected by whether Safe Mode is turned On or Off.
; http://php.net/disable-functions
怎样修改?




欢迎光临 全球主机交流论坛 (https://d.168530.xyz/) Powered by Discuz! X3.4