PHP 7.2.12 インストール
PHPのバージョン7.2.12が公開されていたのでインストールする。
cd /usr/local/src /opt/curl/bin/curl -L http://jp2.php.net/get/php-7.2.12.tar.gz/from/this/mirror -o php-7.2.12.tar.gz tar zxvf php-7.2.12.tar.gz cd php-7.2.12 export CFLAGS="-std=gnu99" export PATH=/opt/bison/bin:$PATH ./configure --prefix=/opt/php7.2 --with-apxs2=/usr/local/apache2.4/bin/apxs --enable-fpm --with-openssl=/opt/openssl-1.1.1 --with-pear --with-pgsql=/usr/local/pgsql --with-pdo-pgsql=/usr/local/pgsql --enable-mbstring --with-curl=/opt/curl --with-gd --enable-gd-jis-conv --enable-zip --with-iconv --with-zlib-dir=/usr --with-freetype-dir=/usr --enable-gd-jis-conv --with-zlib=/usr --with-bz2=/usr --with-jpeg-dir=/usr --with-png-dir=/usr --with-libexpat-dir=/opt/expat --with-pcre-jit --with-libxml-dir=/opt/libxml2 make make install service php-fpm reload /usr/local/apache2.4/bin/apachectl graceful
完了