今天一个php开发找上门,说某台服务器gd库用不了看看编译用的gd库路径是/usr/local/gd/usr/local/php/bin/php-config|grep--color=autogd--ldflags[-L/usr/kerberos/lib64-L/usr/local/lib-L/usr/local/libjpeg/lib-L/usr/local/libpng/lib-L/usr/local/freetype/lib-L/usr/loc..
分类:
Web程序 时间:
2015-10-15 16:20:07
阅读次数:
184
1、更新系统在命令行下执行yum –y update2、安装必要的软件yum -y install gcc gcc-c++ bison pkgconfig glib2-devel gettext make libpng-devel libjpeg-devel libtiff-devel libexi...
分类:
Web程序 时间:
2015-10-05 15:29:36
阅读次数:
192
在Android5.0的源码中编译apk会出现如下的问题 libpng warning: "iCCP: Not recognizing known sRGB profile that has been edited" 原因是新版本的libpng对关于ICCP采用了更严苛的约束 解决方法有三: 降低 libp...
分类:
移动开发 时间:
2015-09-25 11:31:58
阅读次数:
201
yum -y install gcc automake autoconf libtool make cmake yum -y install gcc gcc-c++ glibc glibc-devel yum -y install libmcrypt-devel mhash-devel libxslt-devel libjpeg libjpeg-devel libpng libpng-...
分类:
Web程序 时间:
2015-09-08 20:28:42
阅读次数:
170
[root@lrj-centos6php-5.6.3]#make/bin/sh/usr/local/src/php-5.6.3/libtool--silent--preserve-dup-deps--mode=compilecc-I/usr/local/src/php-5.6.3/ext/gd/libgd-DHAVE_LIBPNG-DHAVE_LIBVPX-DHAVE_LIBJPEG-DHAVE_XPM-DHAVE_LIBFREETYPE-DENABLE_GD_TTF-Iext/gd/-I/usr/local..
分类:
Web程序 时间:
2015-09-04 12:45:33
阅读次数:
589
一、下载PHP源码包wget http://php.net/distributions/php-5.6.3.tar.gz二、添加依赖应用yum install -y gcc gcc-c++ autoconf libjpeg libjpeg-devel libpng libpng-devel free...
分类:
Web程序 时间:
2015-08-28 00:23:30
阅读次数:
280
下载安装包php-5.4.7.tar.gz解压tar -cvfphp-5.4.7.tar.gzyum install -y gcc gcc-c++ make zlib zlib-devel pcre pcre-devel libjpeg libjpeg-devel libpng libpng-dev...
分类:
Web程序 时间:
2015-08-19 11:03:03
阅读次数:
163
LNMP编译安装
# 需先配置IP
# 软件包的路径 /usr/local/src
yum install -y libjpeg-devel libpng-devel freetype-devel curl-devel python-devel curl-devel gcc gcc-c++ bison-devel ncurses-devel lrzsz openssl-devel ...
分类:
数据库 时间:
2015-08-10 12:08:18
阅读次数:
294
1、确认搭建LAMP所需的环境是否已经安装:[root@localhost~]#rpm-qmakegccgcc-c++zlib-devellibtoollibtool-ltdllibtool-ltdl-develbisonncurses-devel备注:安装libpng时需要zlib-devel安装php时需要libtool、libtool-ltdl、libtool-ltdl-devel安装mysql时需要bison、ncurses-de..
分类:
其他好文 时间:
2015-08-05 22:45:18
阅读次数:
208
Lnmp环境搭建1、检查并安装组件1yum -yinstallgccautomake autoconf libtoolmakegcc-c++ glibc2、安装库12345yum -yinstalllibxslt-devel \libjpeg libjpeg-devel libpng libpng-...
分类:
其他好文 时间:
2015-08-01 20:29:40
阅读次数:
135