帖子列表 发布于 2016/05/10 23:09
阅读 389
收藏 0
➜  mine brew cleanup
➜  mine brew install php56 --with-fpm --with-homebrew-curl  --with-homebrew-openssl --with-libmysql   --without-apache
==> Installing php56 from homebrew/php
==> Downloading
Already downloaded: /Library/Caches/Homebrew/php56-5.6.21
==> ./configure --prefix=/usr/local/Cellar/php56/5.6.21 --localstatedir=/usr/local/var --sysconfdir=/usr/local/etc/php/5.6 -
Last 15 lines from /Users/phx/Library/Logs/Homebrew/php56/01.configure:
checking size of int... (cached) 4
checking size of short... (cached) 2
checking size of long... (cached) 8
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for working alloca.h... (cached) yes
checking for alloca... (cached) yes
checking for working memcmp... yes
checking for stdarg.h... (cached) yes
checking for mcrypt support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... yes
checking for specified location of the MySQL UNIX socket... /tmp/mysql.sock
configure: error: Cannot find MySQL header files under /usr/local.
Note that the MySQL client library is not bundled anymore!

If reporting this issue please do so at (not Homebrew/brew):

These open issues may also help:
Make error php56
PHP56 required for composer
failed to install php56-pthreads
brew install php56
Can't install php56-mcrypt
Fails to Install Php56 with Imap Extensiton
Adds a new php70-gearman formula that updates php56-gearman
Every update of php56 force me to reinstall php56-intl and php56-mcrypt with --build-from-source
I can't find php56_pdo!
Failed to install/reinstall php56-http
"brew upgrade" fails: php56 conflicting with php70 when upgrading phpmyadmin
PHP56 can't launch as root, with nginx 500 Internal Server Error?

mysql 有问题 

mine brew install php56 --with-fpm --with-homebrew-curl  --with-homebrew-openssl  --without-apache

去掉with mysql