无法在Majove PHP 7.1.19上找到/安装mcrypy,无法

时间:2019-01-25 21:17:32

标签: php mcrypt

sudo apachectl -k重新启动

AH00557: httpd: apr_sockaddr_info_get() failed for Abuzers-MBP
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message
$ php -m |grep mcrypt
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/mcrypt.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/mcrypt.so, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20160303/mcrypt.so in Unknown on line 0

$ brew install php71-mcrypt

Error: No available formula with the name "php71-mcrypt" 
==> Searching for a previously deleted formula (in the last month)...
Warning: homebrew/core is shallow clone. To get complete history run:
  git -C "$(brew --repo homebrew/core)" fetch --unshallow

Error: No previously deleted formula found.
==> Searching for similarly named formulae...
Error: No similarly named formulae found.
==> Searching taps...
==> Searching taps on GitHub...
Error: No formulae found in taps.

$ brew install mcrypt

Warning: mcrypt 2.6.8 is already installed and up-to-date
To reinstall 2.6.8, run `brew reinstall mcrypt`

0 个答案:

没有答案