首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >PHPbrew连接超时

PHPbrew连接超时
EN

Stack Overflow用户
提问于 2016-05-06 18:57:00
回答 1查看 176关注 0票数 0

curl不适用于phpbrew,如果我安装的是php版本或者php扩展或者其他使用CURL的东西,脚本就无法完成。

有什么想法吗?

代码语言:javascript
复制
phpbrew ext install xdebug                                
Warning: Some extension won't be able to be built with php7. If the extension
supports php7 in another branch or new major version, you will need to specify
the branch name or version name explicitly.

For example, to install memcached extension for php7, use:

    phpbrew ext install github:php-memcached-dev/php-memcached php7 -- --disable-memcached-sasl

CurlKit\CurlException: (28) Resolving timed out after 10524 milliseconds
Trace:

    0) CurlKit\CurlDownloader->request('https://pecl.php.net/rest/r/xdebug/stable.txt')
    1) PhpBrew\Extension\Provider\PeclProvider->getPackageXml('xdebug', 'stable')
    2) PhpBrew\Extension\Provider\PeclProvider->buildPackageDownloadUrl('stable')
    3) PhpBrew\Extension\ExtensionDownloader->download(PhpBrew\Extension\Provider\PeclProvider, 'stable')
    4) PhpBrew\Command\ExtensionCommand\InstallCommand->execute('xdebug')
    5) call_user_func_array([PhpBrew\Command\ExtensionCommand\InstallCommand, 'execute'], ['xdebug'])
    6) CLIFramework\CommandBase->executeWrapper(['xdebug'])
    7) CLIFramework\Application->run(['/usr/local/bin/phpbrew', 'ext', 'install', 'xdebug'])
    8) PhpBrew\Console->runWithTry(['/usr/local/bin/phpbrew', 'ext', 'install', 'xdebug'])
    9) require('phar:///usr/local/bin/phpbrew/scripts/phpbrew-emb.php')
EN

回答 1

Stack Overflow用户

发布于 2016-06-29 19:12:19

当然,同意有关网络问题的评论,但也请看一些技巧的文章- https://github.com/phpbrew/phpbrew/wiki/PHP7

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/37070657

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档