douke6881 2018-05-11 23:17
浏览 68

由于弃用,无法通过自制程序安装memcached。 PECL也不起作用

So our friends at Homebrew have gone and changed things. They've deprecated Homebrew/PHP. That's fine, that's what we developers do. I was able to successfully install PHP 5.6 using Homebrew on a fresh installation of OS X High Sierra. I'm trying now to install memcached and mcrypt, but with the Homebrew change I understand this needs to be done through Pear/PECL. However when I trying to use PECL, I get the following error message:

$ sudo pecl install memcached
pecl/memcached requires PHP (version >= 7.0.0), installed version is 5.6.36

I'm wondering now what my options are. I need to stay with PHP 5.6 for now because that's what I need to code against until I can get our stuff up to PHP 7.x.

  • 写回答

1条回答 默认 最新

  • dsour68888 2018-06-19 12:50
    关注

    I'm going to go with Docker. I'm learning it now and it is a breath of fresh air. I'm certain it will work.

    评论

报告相同问题?

悬赏问题

  • ¥15 关于smbclient 库的使用
  • ¥15 微信小程序协议怎么写
  • ¥15 c语言怎么用printf(“\b \b”)与getch()实现黑框里写入与删除?
  • ¥20 怎么用dlib库的算法识别小麦病虫害
  • ¥15 华为ensp模拟器中S5700交换机在配置过程中老是反复重启
  • ¥15 java写代码遇到问题,求帮助
  • ¥15 uniapp uview http 如何实现统一的请求异常信息提示?
  • ¥15 有了解d3和topogram.js库的吗?有偿请教
  • ¥100 任意维数的K均值聚类
  • ¥15 stamps做sbas-insar,时序沉降图怎么画