php-7.3.0 インストール
PHPのバージョン7.3.0が公開されていたのでインストールする。
cd /usr/local/src /opt/curl/bin/curl -L http://jp2.php.net/get/php-7.3.0.tar.gz/from/this/mirror -o php-7.3.0.tar.gz tar zxvf php-7.3.0.tar.gz cd php-7.3.0
ファイルを修正
export CFLAGS="-std=gnu99" export PATH=/opt/bison/bin:$PATH ./configure --prefix=/opt/php7.3 --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 --without-libzip make make install
設定ファイル等を編集
service php-fpm reload /usr/local/apache2.4/bin/apachectl graceful
完了
PHP Version 7.3.0 リリース
PHP7.3がリリースされました。
nginx-1.15.7
nginx-1.15.7が公開された
Changes with nginx 1.15.7 27 Nov 2018
*) Feature: the "proxy_requests" directive in the stream module. *) Feature: the "delay" parameter of the "limit_req" directive. Thanks to Vladislav Shabanov and Peter Shchuchkin. *) Bugfix: memory leak on errors during reconfiguration. *) Bugfix: in the $upstream_response_time, $upstream_connect_time, and $upstream_header_time variables. *) Bugfix: a segmentation fault might occur in a worker process if the ngx_http_mp4_module was used on 32-bit platforms.
configureオプションを少し修正して、下記リンク先通りの手順でインストール
nginx-1.15.6 インストール - アクセスマニア のんびりブログ
OpenSSL 1.1.1a インストール
OpenSSLの1.1.1aが公開されてのでインストールする。
https://www.openssl.org/news/newslog.html
- 20-Nov-2018 OpenSSL 1.1.1a is now available, including bug and security fixes
- 20-Nov-2018 OpenSSL 1.1.0j is now available, including bug and security fixes
- 20-Nov-2018 OpenSSL 1.0.2q is now available, including bug and security fixes
cd /usr/local/src /opt/curl/bin/curl -L https://www.openssl.org/source/openssl-1.1.1a.tar.gz -o openssl-1.1.1a.tar.gz tar zxvf openssl-1.1.1a.tar.gz cd openssl-1.1.1a PERL="/opt/perl5/bin/perl" ./config -fPIC --prefix=/opt/openssl-1.1.1 shared make make install
完了
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
完了
PostgreSQL 11.1 インストール
PostgreSQL 11.1が公開されたのでインストールする。
- PostgreSQL: PostgreSQL 11.1, 10.6, 9.6.11, 9.5.15, 9.4.20, and 9.3.25 Released!
- PostgreSQL information page
cd /usr/local/src /opt/curl/bin/curl -L https://ftp.postgresql.org/pub/source/v11.1/postgresql-11.1.tar.gz -o postgresql-11.1.tar.gz tar zxvf postgresql-11.1.tar.gz cd postgresql-11.1 export CFLAGS="-I/opt/openssl-1.1.1/include" LIBS="-L/opt/openssl-1.1.1/lib" LDFLAGS="-L/opt/openssl-1.1.1/lib" PKG_CONFIG="/opt/openssl-1.1.1/lib/pkgconfig" LD_LIBRARY_PATH="/opt/openssl-1.1.1/lib" ./configure --prefix=/opt/pgsql-11 --with-openssl make /etc/rc.d/init.d/postgresql stop make install /etc/rc.d/init.d/postgresql start
完了