PECL install failed

前端 未结 3 1418
小蘑菇
小蘑菇 2021-02-06 08:43

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 do

相关标签:
3条回答
  • 2021-02-06 09:16

    PECL modules are (by default, and most of the time) downloaded from a non-local repository. Therefore you will need some form of internet connection to download it.

    Alternatively you can upload the pecl package from your machine to a location on the servers local file system and install it from there, or compile from source.

    0 讨论(0)
  • 2021-02-06 09:18

    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 
    
    0 讨论(0)
  • 2021-02-06 09:37

    To me this error was caused due to php without support for ssl. Enable openssl or recompile with openssl built int. Check php support in a Linux host run

    php -i | grep openssl
    

    Should print a line with openssl if support enabled.

    0 讨论(0)
提交回复
热议问题