码迷,mamicode.com
首页 > Web开发 > 详细

[Ubuntu/Deepin_15] 编译安装 PHP 依赖库

时间:2017-06-03 16:14:55      阅读:597      评论:0      收藏:0      [点我收藏+]

标签:mysql   无法   依赖库   pen   logs   log   curl   gic   ibm   

编译环境

sudo apt-get -y install build-essential

xml

sudo apt-get -y install libxml2-dev

pcre

sudo apt-get -y install libpcre3-dev

jpeg

sudo apt-get -y install libjpeg62-dev

freetype

sudo apt-get -y install libfreetype6-dev

png

sudo apt-get -y install libpng12-dev libpng3 libpnglite-dev

iconv

sudo apt-get -y install libiconv-hook-dev libiconv-hook1

mycrypt

sudo apt-get -y install libmcrypt-dev libmcrypt4

mhash

sudo apt-get -y install libmhash-dev libmhash2

openssl

sudo apt-get -y install libltdl-dev libssl-dev

curl

sudo apt-get -y install libcurl4-openssl-dev

mysql

sudo apt-get -y install libmysqlclient-dev

imagick

sudo apt-get -y install libmagickcore-dev libmagickwand-dev

ubuntu 无法找到 iconv

sudo ln -s /usr/lib/libiconv_hook.so.1.0.0 /usr/lib/libiconv.so
sudo ln -s /usr/lib/libiconv_hook.so.1.0.0 /usr/lib/libiconv.so.1

安装PHP扩展

sudo apt-get -y install autoconf automake m4

 

[Ubuntu/Deepin_15] 编译安装 PHP 依赖库

标签:mysql   无法   依赖库   pen   logs   log   curl   gic   ibm   

原文地址:http://www.cnblogs.com/phpgo/p/6937390.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!