PHP
文章平均质量分 78
天问
这个作者很懒,什么都没留下…
展开
-
Mac下编译PHP的pgsql扩展库方法
Mac系统自带了php,不过没有携带pgsql扩展库。网上找了好久都是说要使用源代码自行编译。php扩展库编译方法如下:1、使用 php -v 查看当前php版本2、下载对应的原文件,比如 php-5.5.7.tar.gz3、执行 tar -zxvf php-5.5.7.tar.gz4、执行 cd php-5.5.7/ext/pgsql/5、执行 phpize6翻译 2014-01-02 15:03:35 · 3950 阅读 · 0 评论 -
MAC下编译PHP5.5.7问题:configure: error: freetype.h not found.
执行configura时提示configure: error: freetype.h not found.freetype明明是使用brew安装了的。也可以查询到这个文件stk-tianwen:freetype2 hufeiyan$ ls /usr/local/include/freetype2/freetype.h/usr/local/include/freetype2/fr原创 2014-01-06 12:29:25 · 9933 阅读 · 2 评论 -
mac编译apache时出现 checking whether the C compiler works... no 的解决办法
在MAC下编译apache时执行 ./configure 出现如下错误。checking for gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/OSX10.9.xctoolchain/usr/bin/ccchecking whether the C compiler works... noconfigure原创 2014-01-02 16:16:10 · 52393 阅读 · 1 评论