PECL install failed

The Bndr picture The Bndr · May 23, 2011 · Viewed 16.6k times · Source

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

what's going on here? By the way: the server is not connected to the Internet, but that shouldn't be a problem, right?!

Answer

The Bndr picture The Bndr · May 23, 2011

To answer my own question an for rising the intellectual horizon of @OZ_ and @martswite

an offline-installation of an pecl extension works like the following way:

1.) download the extension from http://pecl.php.net/packages.php

2.) there you get an .tgz file

3.) install the file:

 pear install memcache-3.0.6.tgz