码迷,mamicode.com
首页 > 系统相关 > 详细

ubuntu 16 server 安装lnmp所需依赖

时间:2016-09-23 18:09:36      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:

安装
1、nginx
build-essential
libc6
libpcre3
libpcre3-dev
libssl-dev
zliblg
zliblg-dev
lab-base
依赖库:
apt-get -y install build-essential libc6 libpcre3 libpcre3-dev libssl-dev zlib1g zlib1g-dev lsb-base
 
 
2、mysql
依赖库: libaio-dev
 
3、php
依赖库:
libxml2-dev
pkg-config
openssl
curl-dev
php7.0-curl / php-curl (最后手动编译安装curl解决)
jpeg8-dev
libpng12-dev
libfreetype6-dev
libmcrypt-dev
 
./configure --prefix=/usr/local/php --with-config-file-path=/usr/local/php/etc --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config --with-iconv --with-freetype-dir --with-jpeg-dir --with-png-dir --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-discard-path --enable-safe-mode --enable-bcmath --enable-shmop --enable-sysvsem --enable-inline-optimization --with-curl --with-curlwrappers --enable-mbregex --enable-fastcgi --enable-fpm --enable-force-cgi-redirect --enable-mbstring --with-mcrypt --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-pcntl --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-zlib --enable-pdo --with-pdo-mysql --enable-opcache --enable-exif
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

ubuntu 16 server 安装lnmp所需依赖

标签:

原文地址:http://www.cnblogs.com/eleven24/p/5900949.html

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