首页 > 代码库 > CentOS安装mariadb-10.0.12和php-5.5.15
CentOS安装mariadb-10.0.12和php-5.5.15
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
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。