全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 749|回复: 6

[Windows VPS] ...求助,h5ai报错。。。

[复制链接]
发表于 2018-12-24 16:35:39 | 显示全部楼层 |阅读模式
Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/dl.xxxx.ml/../private/php/class-bootstrap.php) is not within the allowed path(s): (/www/wwwroot/dl.xxxx.ml/:/tmp/:/proc/) in /www/wwwroot/dl.xxxx.ml/index.php on line 16

Warning: require_once(/www/wwwroot/dl.xxxx.ml/../private/php/class-bootstrap.php): failed to open stream: Operation not permitted in /www/wwwroot/dl.xxxx.ml/index.php on line 16

Fatal error: require_once(): Failed opening required '/www/wwwroot/dl.xxxx.ml/../private/php/class-bootstrap.php' (include_path='.:/www/server/php/55/lib/php') in /www/wwwroot/dl.xxxx.ml/index.php on line 16
 楼主| 发表于 2018-12-24 16:36:45 | 显示全部楼层
太白了,完全看不懂,在index文件中改了一下目录又出现这个
Works best with JavaScript enabled!Works best in modern browsers!powered by h5ai Name        Last modified        Size
发表于 2018-12-24 16:42:08 | 显示全部楼层
如果是军哥的lnmp,需要修改/usr/local/nginx/conf/fastcgi.conf。
添加

  1. fastcgi_param PHP_ADMIN_VALUE "open_basedir=$document_root/:/www/wwwroot/:/tmp/:/proc/:/dev/urandom";
复制代码

 楼主| 发表于 2018-12-24 16:52:19 | 显示全部楼层
用的是宝塔安装的php5.5
发表于 2018-12-24 16:53:41 | 显示全部楼层
Ubuntu 18.04手动安装h5ai
https://timelate.com/archives/install-h5ai-on-ubuntu.html
 楼主| 发表于 2018-12-24 18:31:53 | 显示全部楼层
burde 发表于 2018-12-24 16:53
Ubuntu 18.04手动安装h5ai
https://timelate.com/archives/install-h5ai-on-ubuntu.html

大佬有没有centos的教程
发表于 2018-12-24 18:37:10 | 显示全部楼层
mark一下,今晚也准备折腾h5ai。
军哥的lnmp注意要编辑 /usr/local/php/etc/php.ini 将 scandir exec passthru 三个函数排除出disabled functions列表
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-4-14 05:40 , Processed in 0.069121 second(s), 10 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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