centos6 yum 安装php7.1

前端之家收集整理的这篇文章主要介绍了centos6 yum 安装php7.1前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

PHP7.1

添加到yum:

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm 
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm

PHP 7.1

yum install mod_PHP71w PHP71w-opcache

PHP扩展包

yum install PHP71w-cli PHP71w-MysqL PHP71w-bcmath PHP71w-gd PHP71w-mcrypt PHP71w-mbstring PHP71w-odbc PHP71w-xml

service httpd restart

PHPinfo()  

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); margin: 0px; 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); margin: 0px; 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-xslPHP71w-xmlrpc


猜你在找的Linux相关文章