Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.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
Php 命令';频道发现';无效,请尝试';梨帮助';_Php_Symfony1_Pear - Fatal编程技术网

Php 命令';频道发现';无效,请尝试';梨帮助';

Php 命令';频道发现';无效,请尝试';梨帮助';,php,symfony1,pear,Php,Symfony1,Pear,在通过windows安装symfony1时,我遇到了此错误 c:\wamp\bin\php\php5.4.16>pear channel-discovery pear.php-project.com Command 'channel-discovery' is not valid, try 'pear help' 如果我使用 pear channel-discover pear.php-project.com 那它给我 Discovering channel pear.php-pro

在通过windows安装symfony1时,我遇到了此错误

c:\wamp\bin\php\php5.4.16>pear channel-discovery pear.php-project.com
 Command 'channel-discovery' is not valid, try 'pear help'
如果我使用

pear channel-discover pear.php-project.com
那它给我

Discovering channel pear.php-project.com over http:// failed with message: chann
el-add: Cannot open "http://pear.php-project.com/channel.xml" (Connection to `pe
 ar.php-project.com:80' failed: php_network_getaddresses: getaddrinfo failed: No
 such host is known. )
Trying to discover channel pear.php-project.com over https:// instead
Discovery of channel "pear.php-project.com" failed (channel-add: Cannot open "ht
tps://pear.php-project.com/channel.xml" (Connection to `pear.php-project.com:443
' failed: Unable to find the socket transport "ssl" - did you forget to enable i
t when you configured PHP?))
then it give me this error
有什么想法吗?

也许是这样:

pear channel-discover pear.php-project.com
看起来应该是
频道发现
,而不是
频道发现

我是从这个网址得到的:

如果要注册symfony频道,需要使用以下命令:

pear channel-discover pear.symfony-project.com

此链接提供了其余的说明:

thanx要快速回答,我已经尝试了你所说的,但是我遇到了另一个错误检查我的问题我已经编辑了它。这个“pear.php project.com”频道是什么项目?我不确定这是否存在。但我可能错了。我正在尝试使用symfony指南通过windows推荐行安装symfony