码迷,mamicode.com
首页 > 数据库 > 详细

CentOS安装mariadb-10.0.12和php-5.5.15

时间:2014-08-08 15:43:16      阅读:235      评论:0      收藏:0      [点我收藏+]

标签:style   blog   color   os   ar   div   c++   log   

1:

yum install cmake make ncurses-devel gcc-c++ bison

2:

cmake -DCMAKE_INSTALL_PREFIX=/usr/local/mysql

3:

yum install wget make gcc gcc-c++ bison autoconf patch pcre-devel zlib-devel openssl-devel net-snmp-devel ncurses-devel libxml2-devel bzip2-devel gd-devel libcurl-devel libmcrypt-devel

4:

./configure --prefix=/usr/local/php --enable-fpm --enable-gd-native-ttf --enable-gd-jis-conv --enable-soap --enable-zip --enable-pcntl --enable-sockets --enable-mbstring --enable-xml --with-bz2 --with-openssl --with-iconv --with-zlib --with-curl --with-gd --with-jpeg-dir --with-png-dir --with-freetype-dir --with-mcrypt --with-mysql=/usr/local/mysql --with-mysqli=/usr/local/mysql/bin/mysql_config

 

CentOS安装mariadb-10.0.12和php-5.5.15,布布扣,bubuko.com

CentOS安装mariadb-10.0.12和php-5.5.15

标签:style   blog   color   os   ar   div   c++   log   

原文地址:http://www.cnblogs.com/firadio/p/3899351.html

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