PECL安装失败 [英] PECL install failed
问题描述
.它接缝,我还必须重新安装PHP memcache-module. 因此,我下载了最新版本的内存缓存(3.0.6),并遵循以下文档: http://www.php.net/manual/zh/install.pecl .pear.php
after upgrading from PHP5.2.6 to php 5.3. it seams, I also have to reinstall the PHP memcache-module. So I downloaded the newest version of memcache (3.0.6) and followed this documentation: http://www.php.net/manual/en/install.pecl.pear.php
pecl install memcache
这将导致以下错误消息:
Which results in the following error-message:
No releases available for package "pecl.php.net/memcache"
install failed
这是怎么回事?顺便说一句:服务器未连接到Internet,但这不应该是问题,对吧?!
what's going on here? By the way: the server is not connected to the Internet, but that shouldn't be a problem, right?!
推荐答案
要回答我自己的问题,以提高@OZ_和@martswite的知识视野
To answer my own question an for rising the intellectual horizon of @OZ_ and @martswite
pecl扩展的脱机安装的工作方式如下:
an offline-installation of an pecl extension works like the following way:
1.)从 http://pecl.php.net/packages.php下载扩展名
2.)那里有一个.tgz文件
2.) there you get an .tgz file
3.)安装文件:
pear install memcache-3.0.6.tgz
这篇关于PECL安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!