600字范文,内容丰富有趣,生活中的好帮手!
600字范文 > osx – Mac os x 下使用homebrew安装PHP56失败

osx – Mac os x 下使用homebrew安装PHP56失败

时间:2023-06-27 00:15:16

相关推荐

osx – Mac os x 下使用homebrew安装PHP56失败

后端开发|php教程

osx,php,homebrew

后端开发-php教程

豪迪群发源码,vscode终端中安装框架,ubuntu安装gst,建2个tomcat,爬虫族来源,solr php教程,省心的装修公司外包seo服务,网站实例下载lzw

➜ ~ git:(master) ✗ brew install php56==> Installing php56 from homebrew/homebrew-php==> Downloading /get/php-5.6.4.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php56-5.6.4Warning: Backing up all known pear.conf and .pearrc filesWarning: If you have a pre-existing pear install outside of homebrew-php, or you are using a non-standard pear.conf location, installation may fail.==> ./configure --prefix=/usr/local/Cellar/php56/5.6.4 --localstatedir=/usr/loca==> make/private/tmp/php56-uHXcTe/php-5.6.4/sapi/apache2handler/sapi_apache2.c:41:10: fatal error: ap_config.h file not found#include "ap_config.h" ^1 error generated.make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1READ THIS: http://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew): /homebrew/homebrew-php/issues

然后上 /Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting 查阅了资料,无法解决问题

跑胡子房卡源码,vscode插件安装哪里,ubuntu用代码,通过tomcat插件启动,爬虫 替换,php 替换逗号,专业站内seo优化推荐,下载360导航网站源码,美食微官网模板下载lzw

**➜ ~ git:(master) ✗ brew doctorYour system is ready to brew.**

通过运行brew doctor自检,homebrew没发现问题

cms源码下载,vscode断点在哪看结果,ubuntu 新建文件夹,tomcat jsp访问,sqlite怎样清空,创意网页设计素材,制作云服务器,jquery许愿墙插件,dogo前端框架,爬虫多久入门,php数据表,如何成为seo高手,springboot防止注入,织梦网站修改教程,酷炫的html5动态网页,css登录注册页面模板,wordpress后台挂了,考试页面html模板下载,雪里红图片管理系统,c 程序 网络验证使用 源码lzw

➜ ~ git:(master) ✗ brew gist-logsusage: brew gist-logs [--new-issue|-n] ➜ ~ git:(master) ✗ brew gist-logs /Homebrew/homebrew-apache.git

然后怀疑是 apache 出现问题,直接通过 `homebrew-apache 尝试下载,无效

######################################################################## 100.0%Error: /Library/Caches/Homebrew/Formula/homebrew-apache.git:5: syntax error, unexpected < ^/Library/Caches/Homebrew/Formula/homebrew-apache.git:6: syntax error, unexpected < ^/Library/Caches/Homebrew/Formula/homebrew-apache.git:6: syntax error, unexpected keyword_class, expecting end-of-input^Please report this bug: http://git.io/brew-troubleshooting/usr/local/Library/Homebrew/formulary.rb:92:in `module_eval/usr/local/Library/Homebrew/formulary.rb:92:in `load_file/usr/local/Library/Homebrew/formulary.rb:151:in `load_file/usr/local/Library/Homebrew/formulary.rb:82:in `klass/usr/local/Library/Homebrew/formulary.rb:71:in `get_formula/usr/local/Library/Homebrew/formulary.rb:200:in `factory/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae/usr/local/Library/Homebrew/cmd/gist-logs.rb:127:in `gist_logs/usr/local/Library/brew.rb:135:in `

➜ ~ git:(master) ✗

➜ ~ git:(master) ✗ sudo apachectl -vPassword:Server version: Apache/2.4.9 (Unix)Server built: Sep 9 14:48:20➜ ~ git:(master) ✗

查询了Apache,看起来没问题啊实在不知道问题出现在哪里了

参考资料

参考资料2error freetype.h not found installing php53 #885

回复内容:

➜ ~ git:(master) ✗ brew install php56==> Installing php56 from homebrew/homebrew-php==> Downloading /get/php-5.6.4.tar.bz2/from/this/mirrorAlready downloaded: /Library/Caches/Homebrew/php56-5.6.4Warning: Backing up all known pear.conf and .pearrc filesWarning: If you have a pre-existing pear install outside of homebrew-php, or you are using a non-standard pear.conf location, installation may fail.==> ./configure --prefix=/usr/local/Cellar/php56/5.6.4 --localstatedir=/usr/loca==> make/private/tmp/php56-uHXcTe/php-5.6.4/sapi/apache2handler/sapi_apache2.c:41:10: fatal error: ap_config.h file not found#include "ap_config.h" ^1 error generated.make: *** [sapi/apache2handler/sapi_apache2.lo] Error 1READ THIS: http://git.io/brew-troubleshootingIf reporting this issue please do so at (not Homebrew/homebrew): /homebrew/homebrew-php/issues

然后上 /Homebrew/homebrew/blob/master/share/doc/homebrew/Troubleshooting.md#troubleshooting 查阅了资料,无法解决问题

**➜ ~ git:(master) ✗ brew doctorYour system is ready to brew.**

通过运行brew doctor自检,homebrew没发现问题

➜ ~ git:(master) ✗ brew gist-logsusage: brew gist-logs [--new-issue|-n] ➜ ~ git:(master) ✗ brew gist-logs /Homebrew/homebrew-apache.git

然后怀疑是 apache 出现问题,直接通过 `homebrew-apache 尝试下载,无效

######################################################################## 100.0%Error: /Library/Caches/Homebrew/Formula/homebrew-apache.git:5: syntax error, unexpected < ^/Library/Caches/Homebrew/Formula/homebrew-apache.git:6: syntax error, unexpected < ^/Library/Caches/Homebrew/Formula/homebrew-apache.git:6: syntax error, unexpected keyword_class, expecting end-of-input^Please report this bug: http://git.io/brew-troubleshooting/usr/local/Library/Homebrew/formulary.rb:92:in `module_eval/usr/local/Library/Homebrew/formulary.rb:92:in `load_file/usr/local/Library/Homebrew/formulary.rb:151:in `load_file/usr/local/Library/Homebrew/formulary.rb:82:in `klass/usr/local/Library/Homebrew/formulary.rb:71:in `get_formula/usr/local/Library/Homebrew/formulary.rb:200:in `factory/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `block in formulae/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `map/usr/local/Library/Homebrew/extend/ARGV.rb:16:in `formulae/usr/local/Library/Homebrew/cmd/gist-logs.rb:127:in `gist_logs/usr/local/Library/brew.rb:135:in `

➜ ~ git:(master) ✗

➜ ~ git:(master) ✗ sudo apachectl -vPassword:Server version: Apache/2.4.9 (Unix)Server built: Sep 9 14:48:20➜ ~ git:(master) ✗

查询了Apache,看起来没问题啊实在不知道问题出现在哪里了

参考资料

参考资料2error freetype.h not found installing php53 #885

推荐PHPBrew

还是采用homebrew下的命令

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。