war_136 发表于 2013-03-20 15:51

求助!php无法开启‘打开远程文件(allow_url_fopen): x ’功能

vi   /*/php.ini

;;;;;;;;;;;;;;;;;;
; Fopen wrappers ;
;;;;;;;;;;;;;;;;;;

; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-fopen
allow_url_fopen = On

; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
; http://php.net/allow-url-include
allow_url_include = On

均为on状态
phpinfo页面还是以下显示
allow_url_fopen        On        On
allow_url_include        Off        Off
页: [1]
查看完整版本: 求助!php无法开启‘打开远程文件(allow_url_fopen): x ’功能