suse编译php,SUSE Linux下源码编译安装apache2.2.6+php5.1.16+mysq

3、安装libpng

# cd /usr/local/src/phpYH

# tar -zxf libpng-1.2.8.tar.gz

# cd libpng-1.2.8

# cp scripts/makefile.std makefile

# make; make install

4、安装 freetype

# cd /usr/local/src/phpYH

# tar -zxf freetype-2.1.10.tar.gz

# cd freetype-2.1.10

# ./configure --prefix=/usr/local/freetype

#echo $?

# make;make install

5、安装最新的GD库

# cd /usr/local/src/phpYH

# tar -zxf gd-2.0.33.tar.gz

# cd gd-2.0.33

# ./configure --prefix=/usr/local/gd2 --with-jpeg=/usr/local/jpeg6/ --with-png --with-zlib --with-freetype=/usr/local/freetype/

#echo $?

# make; make install

6、安装最新的Curl库

# cd /usr/local/src/phpYH

# tar -zxf curl-7.15.0.tar.gz

# ./configure --prefix=/usr/local/curl

#echo $?

# make; make install

7、由于php5需libxml2的支持, 所以先安装libxml2

# cd /usr/local/src/phpYH

# tar -zxf libxml2-2.6.19.tar.gz

# cd libxml2-2.6.19

# ./configure --prefix=/usr/local/libxml2

#echo $?

# make; make install

8、安装 libxslt

# cd /usr/local/src/phpYH

# tar -zxf libxslt-1.1.15.tar.gz

# cd libxslt-1.1.15

# ./configure --prefix=/usr/local/libxslt --with-libxml-prefix=/usr/local/libxml2

#echo $?

# make; make install0b1331709591d260c1c78e86d0c51c18.png

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值