麒麟服务器v10系统安装时报错,银河麒麟V10服务器版本编译安装php7.2.12

本文详细记录了在麒麟服务器V10上安装PHP7.2.12的过程,包括遇到的报错及解决方法,如编译安装php7.2.12、添加mongodb、imap和mcrypt扩展,涉及到的依赖库安装及配置文件修改。
摘要由CSDN通过智能技术生成

上传tar包php-7.2.12.tar.gz

tar -zxvf php-7.2.12.tar.gz

cd php-7.2.12

./configure --prefix=/home/kookserver/php --with-config-file-path=/home/kookserver/php/etc --with-config-file-scan-dir=/home/kookserver/php/etc/php.d --enable-mysqlnd --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --enable-fpm --with-fpm-user=www --with-fpm-group=www --with-gd --with-iconv --with-zlib --enable-xml --enable-shmop --enable-sysvsem --enable-inline-optimization --enable-mbregex --enable-mbstring --enable-ftp --with-openssl --enable-pcntl  --enable-sockets --with-xmlrpc --enable-zip --enable-soap --without-pear --with-gettext --enable-session --with-curl --with-jpeg-dir  --with-freetype-dir --enable-opcache --with-libxml-dir --with-png-dir --with-xpm-dir=/usr/lib64/

make && make install

添加mongodb扩展(http://pecl.php.net/package/mongodb)

tar -zxvf mongodb-1.8.2.tgz

cd mongodb-

  • 0
    点赞
  • 2
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值