微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

通过Yum在CentOS / RHEL 6.9和7.4上的PHP 7.1

Box-sizing: border-Box; margin-top: 0px; margin-bottom: 19.7969px; color: rgb(51,51,51); white-space: normal;">centos7 yum安装PHP7

Box-sizing: border-Box; margin-top: 0px; margin-bottom: 19.7969px; color: rgb(51,51); white-space: normal;">安装

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm 
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum install mod_PHP71w PHP71w-opcache或者yum install PHP71w-fpm PHP71w-opcache

Box-sizing: border-Box; margin-top: 0px; margin-bottom: 19.7969px; color: rgb(51,51); white-space: normal;">升级

yum install yum-plugin-replace 
yum replace PHP-common --replace-with=PHP71w-common

安装扩展包

irstRow"> PHP71wPHP71w,mod_PHP,PHP71w-ztsPHP71w-bcmathPHP71w-cliphp-cgi,PHP-pcntl,PHP-readlinePHP71w-commonPHP-api,PHP-bz2,PHP-calendar,PHP-ctype,PHP-curl,PHP-date,PHP-exif,PHP-fileinfo,PHP-filter,PHP-ftp,PHP-gettext,PHP-gmp,PHP-hash,PHP-iconv,PHP-json,PHP-libxml,PHP-openssl,PHP-pcre,PHP-pecl-Fileinfo,PHP-pecl-phar,PHP-pecl-zip,PHP-reflection,PHP-session,PHP-shmop,PHP-simplexml,PHP-sockets,PHP-spl,PHP-tokenizer,PHP-zend-abi,PHP-zip,PHP-zlibPHP71w-dbaPHP71w-develPHP71w-embeddedPHP-embedded-develPHP71w-enchantPHP71w-fpmPHP71w-gdPHP71w-imapPHP71w-interbasePHP_database,PHP-firebirdPHP71w-intlPHP71w-ldapPHP71w-mbstringPHP71w-mcryptPHP71w-MysqLPHP-MysqLi,PHP_databasePHP71w-MysqLndPHP71w-odbcPHP-pdo_odbc,235); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;">PHP71w-opcachePHP71w-pecl-zendopcachePHP71w-pdoPHP71w-pdo_sqlite,PHP71w-sqlite3PHP71w-pdo_dblibPHP71w-mssqlPHP71w-pearPHP71w-pecl-apcuPHP71w-pecl-imagickPHP71w-pecl-memcachedPHP71w-pecl-mongodbPHP71w-pecl-redisPHP71w-pecl-xdebugPHP71w-pgsqlPHP-pdo_pgsql,235); font-style: inherit; font-variant: inherit; font-weight: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;">PHP71w-PHPdbgPHP71w-processPHP-posix,PHP-sysvmsg,PHP-sysvsem,PHP-sysvshmPHP71w-pspellPHP71w-recodePHP71w-snmpPHP71w-soapPHP71w-tidyPHP71w-xmlPHP-dom,PHP-DomXML,PHP-wddx,PHP-xslnormal; background-color: rgb(255,255,255);">PHP71w-xmlrpc

原文地址:https://www.jb51.cc/linux/423017.html

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


ottom-color: rgb(235,235); font-style: inherit; font-variant: inherit; font-stretch: inherit; font-size: inherit; line-height: inherit; font-family: inherit; vertical-align: baseline;">Package