您的位置:首页 > 博客中心 > 数据库 >

CentOS安装mariadb-10.0.12和php-5.5.15

时间:2022-03-13 22:40

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

热门排行

今日推荐

热门手游