如果您使用 PHP 程序码片段,结果网页上出现「URL file-access is disabled in the server configuration」错误信息,

必须请网站管理员或主机供应商启用 PHP 服务器设定的 allow_url_fopen 和 allow_url_include 选项。

# vi /usr/local/php/etc/php.ini

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

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

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

如上所示将 allow_url_fopen 和 allow_url_include 两个函数默认的'Off'改为'On'即可。

错误提示「URL file-access is disabled in the server configuration」解决方案相关推荐

  1. windows7 php 无法启动,window_Win7系统无法启动错误提示代码为File:\BOOT\BCD,  很多人Win7系统用户都有遇 - phpStudy...

    Win7系统无法启动错误提示代码为File:\BOOT\BCD 很多人Win7系统用户都有遇到过电脑无法开机出现错误提示的问题,提示File:\BOOT\BCD status:0xc000000f 的 ...

  2. 启动Mysql服务时错误提示: InnoDB: File .\ib_logfile101: ‘aio write‘ returned OS error 187.

    问题:在使用命令net start mysql启动mysql服务时启动失败,提示错误1067,查看err文件发现 **[error]**信息显示: InnoDB: File .\ib_logfile1 ...

  3. SVN各种错误提示产生原因及处理方法

    SVN各种错误提示产生原因及处理方法大全 1. svn: Server sent unexpected return value (500 Internal Server Error) in resp ...

  4. SVN各种错误提示产生原因及处理方法大全

    SVN各种错误提示产生原因及处理方法大全 1.  svn: Server sent unexpected return value (500 Internal Server Error) in res ...

  5. 微信扫一扫错误提示realauthurl:xxx errmsg config:invalid signature

    使用微信测试号 实现微信扫一扫功能时 出现的问题 1. 环境: springboot + js +微信测试号 + 花生壳穿透 2. 问题 ios系统 调用微信扫一扫时候出现 realauthurl:x ...

  6. 【转】“无法在Web服务器上启动调试。您不具备调试此应用程序的权限,此项目的URL位于Internet区域”错误提示的解决...

    错误提示: 无法在Web服务器上启动调试.您不具备调试此应用程序的权限,此项目的URL位于Internet区域 一般用下面的方法可以解决: 1:确认在"配置属性"中的"启 ...

  7. mkdir()提示No such file or directory错误的解决方法

    mkdir()提示No such file or directory错误的解决方法 参考文章: (1)mkdir()提示No such file or directory错误的解决方法 (2)http ...

  8. linux 错误处理命令,Linux运行脚本命令提示No such file or directory错误的解决办法

    如果在windows中写好python脚本测试正常,但是上传到linux以脚本方式运行命令时提示No such file or directory错误,那么一般是文件格式是dos格式的缘故,改成uni ...

  9. asp IIS部署An error occurred on the server when processing the URL错误提示解决

    An error occurred on the server when processing the URL. Please contact the system administrator.If ...

最新文章

  1. RHEL7: unbound(DNS server)的简单配置
  2. 转--SDP 协议分析
  3. Bitmap的使用(三)
  4. python正则表达式指南_Python正则表达式指南(转)
  5. LSTM里的dropout
  6. radio切换控制div显示_JavaScript连载31图片动态切换以及关闭图片案例
  7. isdigit()、isalpha()、isalnum() 三个函数的区别和注意点
  8. java map转xml 工具类_xml和map互转工具类
  9. C# 代码注释生成代码提示和帮助文档
  10. MySQL:数据库练习题-3
  11. Python 爬取多玩图库
  12. “爱心助农”成绩单公布,淘宝何以成为最大舞台?
  13. windo10系统哪个版本运行最快呢?
  14. 车联网开发板_车联网开发.PDF
  15. 全景拍摄中相机的对焦方式有哪些?
  16. Hyperledger Fabric 2.x Java区块链应用
  17. 将insert语句转化为select语句,进行校验,验证是否插入成功
  18. 基于python 的 ansys 二次开发-----借助pyansys安装包。
  19. newifi3 web认证_newifi新路由3图文设置教程 | 192.168.1.1登陆页面
  20. 如何做好独立的B2C商城系统运营,实现转化与交易?——甲由科技

热门文章

  1. tomcat work目录作用
  2. C++11中的右值引用(对比左值引用和常引用)、移动构造函数和引用标识符
  3. 光学绝对编码器行业调研报告 - 市场现状分析与发展前景预测(2021-2027年)
  4. 如何用视频编辑软件给同轨道素材添加转场
  5. PX4代码解析:振动分析
  6. 单片机编程语言与开发环境
  7. 御神楽的学习记录之Springboot+netty实现Web聊天室
  8. linux系统ip访问53端口,linux – 使用公共IP地址无法访问本地端口
  9. 仿百度壁纸客户端(四)——自定义上拉加载实现精选壁纸墙
  10. 台积电5nm工厂明年一季度投产 现已开始转移设备