FreeNAS 9のJail環境でWordpressを動作させる試みでphp5のインストールの失敗でPHP extensionsのインストールがエラーで止まっていたので再挑戦です
Install WordPress on FreeNAS 9 – PHP extensions
http://www.rootlinks.net/2013/11/16/install-wordpress-on-freenas-9-php-extensions/
php5の再インストールはこちらの記事です
FreeNAS 9 – pkgng/pkg2ng (Reinstall php5)
http://www.rootlinks.net/2013/11/17/freenas-9-pkgngpkg2ng-reinstall_php5/
参考サイト
Setting up a FreeBSD 9 WordPress Server on 128MB of RAM
http://virtuallyhyper.com/2013/04/setting-up-freebsd-9-wordpress-server-on-128mb-of-ram/
- config optionの確認
- makeの実行
- make installの実行
- make cleanの実行
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
root@vhost:/usr/ports/lang/php5-extensions # make showconfig | grep =on CTYPE=on: ctype functions CURL=on: CURL support DOM=on: DOM support FILTER=on: input filter support HASH=on: HASH Message Digest Framework ICONV=on: iconv support JSON=on: JavaScript Object Serialization support MYSQL=on: MySQL database support PDO=on: PHP Data Objects Interface (PDO) PDO_SQLITE=on: PDO sqlite driver PHAR=on: phar support POSIX=on: POSIX-like functions SESSION=on: session support SIMPLEXML=on: simplexml support SQLITE3=on: sqlite3 support TOKENIZER=on: tokenizer support XML=on: XML support XMLREADER=on: XMLReader support XMLWRITER=on: XMLWriter support |
1 2 3 4 5 6 7 |
root@vhost:/usr/ports/lang/php5-extensions # make ===> Found saved configuration for php5-extensions-1.7 ===> php5-extensions-1.7 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by php5-extensions-1.7 for building ===> Extracting for php5-extensions-1.7 ===> Patching for php5-extensions-1.7 (snip) |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
root@vhost:/usr/ports/lang/php5-extensions # make install ===> Staging for php5-extensions-1.7 ===> php5-extensions-1.7 depends on file: /usr/local/include/php/main/php.h - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/ctype.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/curl.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/dom.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/filter.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/hash.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/iconv.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/json.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/mysql.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/pdo.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/pdo_sqlite.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/phar.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/posix.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/session.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/simplexml.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/sqlite3.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/tokenizer.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/xml.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/xmlreader.so - found ===> php5-extensions-1.7 depends on file: /usr/local/lib/php/20100525/xmlwriter.so - found ===> Generating temporary packing list ====> Compressing man pages (compress-man) ===> Installing for php5-extensions-1.7 ===> Checking if lang/php5-extensions already installed ===> Registering installation for php5-extensions-1.7 Installing php5-extensions-1.7... done |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
root@vhost:/usr/ports/lang/php5-extensions # make clean ===> Cleaning for php5-ctype-5.4.21 ===> Cleaning for php5-curl-5.4.21_1 ===> Cleaning for php5-dom-5.4.21 ===> Cleaning for php5-filter-5.4.21 ===> Cleaning for php5-hash-5.4.21 ===> Cleaning for php5-iconv-5.4.21 ===> Cleaning for php5-json-5.4.21 ===> Cleaning for php5-mysql-5.4.21 ===> Cleaning for php5-pdo-5.4.21 ===> Cleaning for php5-pdo_sqlite-5.4.21 ===> Cleaning for php5-phar-5.4.21 ===> Cleaning for php5-posix-5.4.21 ===> Cleaning for php5-session-5.4.21 ===> Cleaning for php5-simplexml-5.4.21 ===> Cleaning for php5-sqlite3-5.4.21 ===> Cleaning for php5-tokenizer-5.4.21 ===> Cleaning for php5-xml-5.4.21 ===> Cleaning for php5-xmlreader-5.4.21 ===> Cleaning for php5-xmlwriter-5.4.21 ===> Cleaning for php5-extensions-1.7 |
今度は無事にインストールができました(^^v