CMS - OpenPNE - インストール要件

 クラウディア
1. インストール要件

1. インストール要件

 インストール要件・セットアップ手順が、下記に記載されています。
OpenPNE3.8 セットアップ手順
 これも 2015年のままなのが、いささか気になりますが、すなわち
 サーバ等  アプリケーション バージョン  備考 
WEBサーバ Apache 記載なし mod_rewrite が必須のようです
データベースサーバ MySQL 5.1 以降推奨
処理言語 PHP 5.2.3 以降

 更に PHP に関しては以下のモジュールが必須もしくは推奨のようです。

モジュール  備考 
libXML 外部モジュール
mbstring
XML
PCRE
PDO
JSON
GD
mcrypt
APC

 なんだか読めば読むほど、あんまりメンテナンスされていないようで・・・。
 安定しているんだか、開発が停滞しているんだか、微妙なところです。

 2018年7月23日現在、FreeBSD でいうならば、apache は 2.4 でしょうし、MySQL は 5.7 ですな。
 PHP は 7.2 が最新になっています。
 逆に、これらに OpenPNE がついてこれているのかが気になってしまいます。

 PHP のモジュールは、下記のコマンドで調べるのがいいでしょう。


pkg info | grep php
 ある仮想環境で見てみましたらば、下記の状況でした。

mod_php72-7.2.7                PHP Scripting Language
php72-7.2.7                    PHP Scripting Language
php72-ctype-7.2.7              The ctype shared extension for php
php72-curl-7.2.7               The curl shared extension for php
php72-dom-7.2.7                The dom shared extension for php
php72-extensions-1.0           "meta-port" to install PHP extensions
php72-filter-7.2.7             The filter shared extension for php
php72-gd-7.2.7                 The gd shared extension for php
php72-gettext-7.2.7            The gettext shared extension for php
php72-hash-7.2.7               The hash shared extension for php
php72-iconv-7.2.7              The iconv shared extension for php
php72-json-7.2.7               The json shared extension for php
php72-mbstring-7.2.7           The mbstring shared extension for php
php72-mysqli-7.2.7             The mysqli shared extension for php
php72-opcache-7.2.7            The opcache shared extension for php
php72-pdo-7.2.7                The pdo shared extension for php
php72-pdo_sqlite-7.2.7         The pdo_sqlite shared extension for php
php72-pgsql-7.2.7              The pgsql shared extension for php
php72-phar-7.2.7               The phar shared extension for php
php72-posix-7.2.7              The posix shared extension for php
php72-session-7.2.7            The session shared extension for php
php72-simplexml-7.2.7          The simplexml shared extension for php
php72-sqlite3-7.2.7            The sqlite3 shared extension for php
php72-tokenizer-7.2.7          The tokenizer shared extension for php
php72-xml-7.2.7                The xml shared extension for php
php72-xmlreader-7.2.7          The xmlreader shared extension for php
php72-xmlwriter-7.2.7          The xmlwriter shared extension for php
php72-zlib-7.2.7               The zlib shared extension for php
 特に気を付けてインストールしたマシンではありませんが、pcre・mcrypt・apc 以外はインストールされているようです。  pkg search でキーワードサーチしてみましたが、mcrypt・apc は下記でしょうか?

php72-pecl-mcrypt-1.0.1        PHP extension for mcrypt, removed in PHP 7.2
php72-pecl-APCu-5.1.8_1        APC User Caching
 これらは明示的にインストールすることとします。

cd /usr/ports/security/pecl-mcrypt
make
make install
cd /usr/ports/devel/pecl-APCu
make
make install
 「pcre」は・・・ようわからんので後でもいいか・・・。