mac home-brew 安装 php 失败
brew install php56 --with-fpm --with-gmp --with-imap --with-tidy --with-debug --with-mysql --with-libmysql --without-snmp
执行这个以后
==> Installing php56 from homebrew/php
==> Downloading https://php.net/get/php-5.6.22.tar.bz2/from/this/mirror
Already downloaded: /Users/miaoyunpeng/Library/Caches/Homebrew/php56-5.6.22
==> ./configure --prefix=/usr/local/Cellar/php56/5.6.22 --localstatedir=/usr/local/var --sysconfdir=/usr/loca
Last 15 lines from /Users/miaoyunpeng/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!
READ THIS: https://git.io/brew-troubleshooting
If reporting this issue please do so at (not Homebrew/brew):
https://github.com/Homebrew/homebrew-php/issues
These open issues may also help:
Update php56-apcu.rb https://github.com/Homebrew/homebrew-php/pull/3242
brew install php56 https://github.com/Homebrew/homebrew-php/issues/2760
Runtime error after installing php56-http https://github.com/Homebrew/homebrew-php/issues/3243
Make error php56 https://github.com/Homebrew/homebrew-php/issues/1842
PHP56 required for composer https://github.com/Homebrew/homebrew-php/issues/2796
failed to install php56-pthreads https://github.com/Homebrew/homebrew-php/issues/2768
Can't install php56-mcrypt https://github.com/Homebrew/homebrew-php/issues/2452
Every update of php56 force me to reinstall php56-intl and php56-mcrypt with --build-from-source https://github.com/Homebrew/homebrew-php/issues/2440
Failed to install/reinstall php56-http https://github.com/Homebrew/homebrew-php/issues/2711
Fails to Install Php56 with Imap Extensiton https://github.com/Homebrew/homebrew-php/issues/2703
I can't find php56_pdo! https://github.com/Homebrew/homebrew-php/issues/2706
"brew upgrade" fails: php56 conflicting with php70 when upgrading phpmyadmin https://github.com/Homebrew/homebrew-php/issues/2945
Adds a new php70-gearman formula that updates php56-gearman https://github.com/Homebrew/homebrew-php/pull/3120
Why does wp-cli formula try to install php56 if php70 is already there? https://github.com/Homebrew/homebrew-php/issues/3179
PHP56 can't launch as root, with nginx 500 Internal Server Error? https://github.com/Homebrew/homebrew-php/issues/2709
好多包下载不下来 已经好多次了。哪位大神知道这个是为啥嘛
相关阅读:
请教前辈如何从JSP页面往SpringMVC的Controller内传集合类型对象
jquery如何快速获取页面的get传值
个人开发者如何解决服务器问题?
使用微信SDK第三方登录如何打开授权页?
getElemensByTagName获取到的值每次都是重新计算的?
在requireJS中如何定义多个存在依赖关系的JS包的加载顺序?
PHPEXCEL 导出number_format后的数字
wmlbrowser的工作原理
负数的算术右移有什么规律?
为什么设置了charset="UTF-8"中文还是乱码呢?并且文件编码也是UTF-8,用的sublime
mysql 为什么主键 id 和 pid 都市索引, id > 10 走索引 time > 10 不走索引?
mysql实例与连接
git commit -m ""内容写错,如何重新编辑
UICollectionview背景是黑色无法修改
javaweb中数据库连接池的设置问题
ios系统支持方正正黑简体字体吗?
奇怪的问题,为什么我内存只有3G 线程大小设置的是8092 还是能创建好几万个线程呢?
如何限制用户异地登录?
求一个随机算法
为什么标签在每个浏览器中支持的音频文件的格式都不一样?