首页 > 数据库技术 > 详细

CentOS安装mariadb-10.0.12和php-5.5.15

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

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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!