安装:

brew install libmcrypt

 

下载mcrypt扩展源码

http://pecl.php.net/package/mcrypt

mac php7.2 安装mcrypt扩展

解压后 进入目录:

phpize
./configure
make && make install

mac php7.2 安装mcrypt扩展

修改php.ini,加上:

extension=/Applications/MxSrvs/bin/php/lib/php/extensions/no-debug-non-zts-20170718/mcrypt.so

 

mac php7.2 安装mcrypt扩展

 

相关文章:

  • 2021-06-01
  • 2021-07-10
  • 2021-11-12
  • 2022-12-23
  • 2022-12-23
  • 2021-12-01
  • 2021-08-19
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-05-08
  • 2021-08-17
  • 2021-05-23
  • 2021-12-26
  • 2022-02-20
相关资源
相似解决方案