This page is read only. You can view the source, but not change it. Ask your administrator if you think this is wrong. {{tag>php webtatic centos guide }} {{howhard>1}} ====== PHP 7.x+ ====== ===== Goal ===== Install PHP 7 in Centos 7 ==== Steps ==== === Install Repository === <sxh bash>rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm</sxh> === Install PHP 7.2 === <sxh bash>yum install -y php72w-bcmath php72w-cli php72w-common php72w-dba php72w-embedded php72w-enchant php72w-fpm php72w-gd php72w-imap php72w-interbase php72w-intl php72w-ldap php72w-mbstring php72w-mysqlnd php72w-odbc php72w-opcache php72w-pdo php72w-pdo_dblib php72w-pear php72w-pecl-apcu php72w-pecl-geoip php72w-pecl-igbinary php72w-pecl-imagick php72w-pecl-libsodium php72w-pecl-memcached php72w-pecl-mongodb php72w-pecl-redis php72w-pgsql php72w-process php72w-pspell php72w-recode php72w-snmp php72w-soap php72w-sodium php72w-tidy php72w-xml php72w-xmlrpc</sxh> === Update User/group for php-fpm === <sxh bash>vim /etc/php-fpm.d/www.conf</sxh> <sxh> user = nginx group = nginx </sxh>