Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/.htaccess/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
phpseclib给了我一个奇怪的错误_Php_Phpseclib - Fatal编程技术网

phpseclib给了我一个奇怪的错误

phpseclib给了我一个奇怪的错误,php,phpseclib,Php,Phpseclib,我试图使用这个,但它只是给了我这个错误,我没有线索如何修复 警告:include_once(Math/biginger.php):无法打开流:否 中的此类文件或目录 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第891行 警告:include_once():为打开“Math/biginger.php”失败 包含(include_path='。:/usr/share/php:/usr/sh

我试图使用这个,但它只是给了我这个错误,我没有线索如何修复

警告:include_once(Math/biginger.php):无法打开流:否 中的此类文件或目录 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第891行

警告:include_once():为打开“Math/biginger.php”失败 包含(include_path='。:/usr/share/php:/usr/share/pear')在 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第891行

警告:include_once(Crypt/Random.php):无法打开流:否 中的此类文件或目录 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第895行

警告:include_once():为打开“Crypt/Random.php”失败 包含(include_path='。:/usr/share/php:/usr/share/pear')在 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第895行

警告:include_once(Crypt/Hash.php):无法打开流:没有这样的 中的文件或目录 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第899行

警告:include_once():无法打开“Crypt/Hash.php”进行包含 (包括_path='。:/usr/share/php:/usr/share/pear') /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第899行

警告:include_once(Crypt/Base.php):无法打开流:没有这样的 中的文件或目录 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第904行

警告:include_once():无法打开“Crypt/Base.php”进行包含 (包括_path='。:/usr/share/php:/usr/share/pear') /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第904行

致命错误:调用未定义的函数 phpseclib_resolve_include_path()在 /home/www/sfs\u web/statistics/\u public/\u functions/Server/Net/SSH2.php on 第1226行


phpseclib可能不在您的include_路径中。引用



你需要适当地调整它。如果phpseclib位于vendor/phpseclib目录中,则执行
“vendor/phpseclib”
等操作。

是的,您需要设置包含路径。 以我的方式,我在ssh2.php中替换了all include指令

include_once(Math/BigInteger.php)

编码点火器
<?php
set_include_path(get_include_path() . PATH_SEPARATOR . 'phpseclib');

include('Net/SSH2.php');
?>
include_once(Math/BigInteger.php)
stream_resolve_include_path(Math/*****.php)