Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

PECL install failed

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?!

like image 835
The Bndr Avatar asked May 23 '11 15:05

The Bndr


1 Answers

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 
like image 179
The Bndr Avatar answered Sep 25 '22 00:09

The Bndr