全球主机交流论坛

标题: Nginx+FastCGI防跨站最简单的办法 [打印本页]

作者: osiris    时间: 2012-9-16 21:20
标题: Nginx+FastCGI防跨站最简单的办法
据说在PHP5.3.3以后已经支持PHP.ini配置
  1. [HOST=99288.net.cn]   
  2. open_basedir=/var/www/osiris/99288.net.cn:/tmp   
  3.   
  4. [PATH=/var/www/osiris]   
  5. open_basedir=/var/www/osiris:/tmp
复制代码
实际测试 debian6 apt安装的php可以正常使用该功能。
作者: smyz    时间: 2012-9-16 21:21

作者: 大胡子    时间: 2012-9-16 21:24
5.3.x都可以
作者: PPS    时间: 2012-9-16 21:34
php 5.4 可以吗?
作者: zidane    时间: 2012-9-16 22:17
提示: 作者被禁止或删除 内容自动屏蔽




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