我通过 pear 安装了 PHPUnit,并将所需的 PHP 文件上传到帐户中。
我用我能想象到的每一个可能的包含路径设置 php.ini...我知道它正在使用正确的 php.ini 文件,因为当我更新它时..以及错误它显示包含路径更改(如下)... ..当我搜索服务器时,它根本找不到任何名为“SebastianBergmann”的文件夹...我不知道该怎么做...请帮助..
Fatal error: require_once(): Failed opening required 'SebastianBergmann/Diff/autoload.php' (include_path='.:/usr/lib/php:/usr/local/lib/php:/home/admin/inc:/home/limber/public_html/limber/plugin/PHPUnit:/usr/local/bin/phpunit') in /home/limber/public_html/limber/plugin/PHPUnit/Autoload.php on line 69
Call Stack:
0.0001 635368 1. {main}() /usr/local/bin/phpunit:0
0.0029 1109328 2. PHPUnit_TextUI_Command::main() /usr/local/bin/phpunit:46
0.0029 1110056 3. PHPUnit_TextUI_Command->run() /usr/local/lib/php/PHPUnit/TextUI/Command.php:129
0.0047 1578072 4. PHPUnit_Runner_BaseTestRunner->getTest() /usr/local/lib/php/PHPUnit/TextUI/Command.php:150
0.0047 1578072 5. PHPUnit_Runner_BaseTestRunner->loadSuiteClass() /usr/local/lib/php/PHPUnit/Runner/BaseTestRunner.php:104
0.0049 1622128 6. PHPUnit_Runner_StandardTestSuiteLoader->load() /usr/local/lib/php/PHPUnit/Runner/BaseTestRunner.php:168
0.0055 1787856 7. PHPUnit_Util_Fileloader::checkAndLoad() /usr/local/lib/php/PHPUnit/Runner/StandardTestSuiteLoader.php:77
0.0055 1788000 8. PHPUnit_Util_Fileloader::load() /usr/local/lib/php/PHPUnit/Util/Fileloader.php:76
0.0055 1800264 9. include_once('/home/limber/public_html/limber/test/public_html/limber/core/NumTest.php') /usr/local/lib/php/PHPUnit/Util/Fileloader.php:92
0.0058 1870848 10. include_once('/home/limber/public_html/limber/plugin/PHPUnit/Autoload.php') /home/limber/public_html/limber/test/public_html/limber/core/NumTest.php:3
root@host [/home/limber/public_html/limber/test/public_html/limber/core]# `pear config-get php_bin` -i | grep -E Configurati
on\ File\|include_path
Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory
Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
include_path => .:/usr/lib/php:/usr/local/lib/php:/home/admin/inc:/home/limber/public_html/limber/plugin/PHPUnit => .:/usr/lib/php:/usr/local/lib/php:/home/admin/inc:/home/limber/public_html/limber/plugin/PHPUnit