0
CURL與phpbrew無法正常工作,如果我安裝php版本或php擴展或使用curl的東西,腳本無法完成。PHPbrew連接超時
任何想法?
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')
It'sa網絡問題,而不是PHP /捲曲。它看起來像我的DNS問題。 –
我正在網上衝浪。我一直對Curl dns解決方案有幾個問題。我使用的是Ubuntu 14.04 LTS(沒有特別的網絡配置) – Serginho