PHP 5.5 から PHP 5.6 へアップグレード
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*PHP 5.5 から PHP 5.6 へアップグレード [#hb020569]
【参考にさせて頂いたサイト】
http://kaworu.jpn.org/freebsd/PHP5.6%E3%82%92%E3%82%A4%E3...
$ pkg info | fgrep php55 >/tmp/php.txt
$ sudo pkg remove '*php55*'
$ sudo pkg install `sed -e 's/-5.5.*$//' -e 's/php55/php...
**PHP 5.5 から PHP 5.6 へアップグレード [#lddf31b0]
portupgrede -a de
** Listing the failed packages (-:ignored / *:skipped / ...
- www/mod_php55 (port deleted)
- lang/php55 (port deleted)
- textproc/php55-ctype (port deleted)
- textproc/php55-dom (port deleted)
- lang/php55-extensions (port deleted)
- security/php55-filter (port deleted)
- security/php55-hash (port deleted)
- converters/php55-iconv (port deleted)
- devel/php55-json (port deleted)
- www/php55-opcache (port deleted)
- databases/php55-pdo (port deleted)
- databases/php55-pdo_sqlite (port deleted)
- archivers/php55-phar (port deleted)
- sysutils/php55-posix (port deleted)
- www/php55-session (port deleted)
- textproc/php55-simplexml (port deleted)
- databases/php55-sqlite3 (port deleted)
- devel/php55-tokenizer (port deleted)
- textproc/php55-xml (port deleted)
- textproc/php55-xmlreader (port deleted)
- textproc/php55-xmlwriter (port deleted)
- devel/ruby-date2 (marked as IGNORE)
- lang/ruby20 (port deleted)
といわれるので
*** cp -r /usr/local/etc/php /usr/local/etc/php-55 [#u8d8...
*** cp /usr/local/etc/php.conf /usr/local/etc/php.conf-55...
*** # pkg set -o lang/php5:lang/php56 [#x0d89008]
Change origin from lang/php5 to lang/php56 for all depen...
*** y [#s1521aef]
*** # pkg info | fgrep php55 > /root/php55.txt [#td43902d]
*** # pkg remove '*php55*' [#c2ace32d]
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 21 p...
Installed packages to be REMOVED:
mod_php55-5.5.38_2
php55-5.5.38_2
php55-ctype-5.5.38_1
php55-dom-5.5.38_1
php55-extensions-1.8
php55-filter-5.5.38_1
php55-hash-5.5.38_1
php55-iconv-5.5.38_1
php55-json-5.5.38_1
php55-opcache-5.5.38_2
php55-pdo-5.5.38_1
php55-pdo_sqlite-5.5.38_1
php55-phar-5.5.38_1
php55-posix-5.5.38_1
php55-session-5.5.38_2
php55-simplexml-5.5.38_1
php55-sqlite3-5.5.38_1
php55-tokenizer-5.5.38_1
php55-xml-5.5.38_1
php55-xmlreader-5.5.38_1
php55-xmlwriter-5.5.38_1
Number of packages to be removed: 21
The operation will free 21 MiB.
*** Proceed with deinstalling packages? [y/N]: y [#n65357...
[1/21] Deinstalling php55-extensions-1.8...
[2/21] Deinstalling php55-pdo_sqlite-5.5.38_1...
[2/21] Deleting files for php55-pdo_sqlite-5.5.38_1: 100%
:
[20/21] Deleting files for mod_php55-5.5.38_2: 100%
[21/21] Deinstalling php55-5.5.38_2...
[21/21] Deleting files for php55-5.5.38_2: 100%
*** # pkg install `sed -e 's/-5.5.*$//' -e 's/php55/php56...
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 21 package(s) will be affected (of 0 check...
New packages to be INSTALLED:
mod_php56: 5.6.28
php56: 5.6.28
php56-ctype: 5.6.28
php56-dom: 5.6.28
php56-extensions: 1.0
php56-filter: 5.6.28
php56-hash: 5.6.28
php56-iconv: 5.6.28
php56-json: 5.6.28
php56-opcache: 5.6.28
php56-pdo: 5.6.28
php56-pdo_sqlite: 5.6.28
php56-phar: 5.6.28
php56-posix: 5.6.28
php56-session: 5.6.28
php56-simplexml: 5.6.28
php56-sqlite3: 5.6.28
php56-tokenizer: 5.6.28
php56-xml: 5.6.28
php56-xmlreader: 5.6.28
php56-xmlwriter: 5.6.28
Number of packages to be installed: 21
The process will require 21 MiB more space.
3 MiB to be downloaded.
*** Proceed with this action? [y/N]: y [#s6d8b6f1]
Fetching mod_php56-5.6.28.txz: 100% 956 KiB 244.8kB/s ...
Fetching php56-5.6.28.txz: 100% 2 MiB 308.9kB/s 00...
:
[19/21] Extracting php56-xmlwriter-5.6.28: 100%
[20/21] Installing mod_php56-5.6.28...
[20/21] Extracting mod_php56-5.6.28: 100%
[activating module `php5' in /usr/local/etc/apache24/htt...
[21/21] Installing php56-extensions-1.0...
Message from php56-dom-5.6.28:
********************************************************...
The following line has been added to your /usr/local/etc...
configuration file to automatically load the installed e...
extension=dom.so
********************************************************...
Message from php56-hash-5.6.28:
********************************************************...
********************************************************...
Message from mod_php56-5.6.28:
********************************************************...
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuratio...
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
********************************************************...
php56-extensionsも入るが、オプション設定がデフォルト項目...
/usr/ports/lang/php56-extensions
にて、
make config
するなどして確認。
あと、www/mod_php5 も要確認!
*** php -v [#na440f52]
PHP 5.6.28 (cli) (built: Nov 29 2016 01:20:14)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technol...
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-201...
*** # apachectl restart [#y95cb314]
[[php5 を php54 から php55 へ]]
pkg: apache22-2.2.31_1 conflicts with apache24-2.4.23_1 (...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
終了行:
CONTENTS
#contents
----
Lastmodified &lastmod;
----
*PHP 5.5 から PHP 5.6 へアップグレード [#hb020569]
【参考にさせて頂いたサイト】
http://kaworu.jpn.org/freebsd/PHP5.6%E3%82%92%E3%82%A4%E3...
$ pkg info | fgrep php55 >/tmp/php.txt
$ sudo pkg remove '*php55*'
$ sudo pkg install `sed -e 's/-5.5.*$//' -e 's/php55/php...
**PHP 5.5 から PHP 5.6 へアップグレード [#lddf31b0]
portupgrede -a de
** Listing the failed packages (-:ignored / *:skipped / ...
- www/mod_php55 (port deleted)
- lang/php55 (port deleted)
- textproc/php55-ctype (port deleted)
- textproc/php55-dom (port deleted)
- lang/php55-extensions (port deleted)
- security/php55-filter (port deleted)
- security/php55-hash (port deleted)
- converters/php55-iconv (port deleted)
- devel/php55-json (port deleted)
- www/php55-opcache (port deleted)
- databases/php55-pdo (port deleted)
- databases/php55-pdo_sqlite (port deleted)
- archivers/php55-phar (port deleted)
- sysutils/php55-posix (port deleted)
- www/php55-session (port deleted)
- textproc/php55-simplexml (port deleted)
- databases/php55-sqlite3 (port deleted)
- devel/php55-tokenizer (port deleted)
- textproc/php55-xml (port deleted)
- textproc/php55-xmlreader (port deleted)
- textproc/php55-xmlwriter (port deleted)
- devel/ruby-date2 (marked as IGNORE)
- lang/ruby20 (port deleted)
といわれるので
*** cp -r /usr/local/etc/php /usr/local/etc/php-55 [#u8d8...
*** cp /usr/local/etc/php.conf /usr/local/etc/php.conf-55...
*** # pkg set -o lang/php5:lang/php56 [#x0d89008]
Change origin from lang/php5 to lang/php56 for all depen...
*** y [#s1521aef]
*** # pkg info | fgrep php55 > /root/php55.txt [#td43902d]
*** # pkg remove '*php55*' [#c2ace32d]
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 21 p...
Installed packages to be REMOVED:
mod_php55-5.5.38_2
php55-5.5.38_2
php55-ctype-5.5.38_1
php55-dom-5.5.38_1
php55-extensions-1.8
php55-filter-5.5.38_1
php55-hash-5.5.38_1
php55-iconv-5.5.38_1
php55-json-5.5.38_1
php55-opcache-5.5.38_2
php55-pdo-5.5.38_1
php55-pdo_sqlite-5.5.38_1
php55-phar-5.5.38_1
php55-posix-5.5.38_1
php55-session-5.5.38_2
php55-simplexml-5.5.38_1
php55-sqlite3-5.5.38_1
php55-tokenizer-5.5.38_1
php55-xml-5.5.38_1
php55-xmlreader-5.5.38_1
php55-xmlwriter-5.5.38_1
Number of packages to be removed: 21
The operation will free 21 MiB.
*** Proceed with deinstalling packages? [y/N]: y [#n65357...
[1/21] Deinstalling php55-extensions-1.8...
[2/21] Deinstalling php55-pdo_sqlite-5.5.38_1...
[2/21] Deleting files for php55-pdo_sqlite-5.5.38_1: 100%
:
[20/21] Deleting files for mod_php55-5.5.38_2: 100%
[21/21] Deinstalling php55-5.5.38_2...
[21/21] Deleting files for php55-5.5.38_2: 100%
*** # pkg install `sed -e 's/-5.5.*$//' -e 's/php55/php56...
Updating FreeBSD repository catalogue...
FreeBSD repository is up-to-date.
All repositories are up-to-date.
The following 21 package(s) will be affected (of 0 check...
New packages to be INSTALLED:
mod_php56: 5.6.28
php56: 5.6.28
php56-ctype: 5.6.28
php56-dom: 5.6.28
php56-extensions: 1.0
php56-filter: 5.6.28
php56-hash: 5.6.28
php56-iconv: 5.6.28
php56-json: 5.6.28
php56-opcache: 5.6.28
php56-pdo: 5.6.28
php56-pdo_sqlite: 5.6.28
php56-phar: 5.6.28
php56-posix: 5.6.28
php56-session: 5.6.28
php56-simplexml: 5.6.28
php56-sqlite3: 5.6.28
php56-tokenizer: 5.6.28
php56-xml: 5.6.28
php56-xmlreader: 5.6.28
php56-xmlwriter: 5.6.28
Number of packages to be installed: 21
The process will require 21 MiB more space.
3 MiB to be downloaded.
*** Proceed with this action? [y/N]: y [#s6d8b6f1]
Fetching mod_php56-5.6.28.txz: 100% 956 KiB 244.8kB/s ...
Fetching php56-5.6.28.txz: 100% 2 MiB 308.9kB/s 00...
:
[19/21] Extracting php56-xmlwriter-5.6.28: 100%
[20/21] Installing mod_php56-5.6.28...
[20/21] Extracting mod_php56-5.6.28: 100%
[activating module `php5' in /usr/local/etc/apache24/htt...
[21/21] Installing php56-extensions-1.0...
Message from php56-dom-5.6.28:
********************************************************...
The following line has been added to your /usr/local/etc...
configuration file to automatically load the installed e...
extension=dom.so
********************************************************...
Message from php56-hash-5.6.28:
********************************************************...
********************************************************...
Message from mod_php56-5.6.28:
********************************************************...
Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuratio...
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
********************************************************...
php56-extensionsも入るが、オプション設定がデフォルト項目...
/usr/ports/lang/php56-extensions
にて、
make config
するなどして確認。
あと、www/mod_php5 も要確認!
*** php -v [#na440f52]
PHP 5.6.28 (cli) (built: Nov 29 2016 01:20:14)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technol...
with Zend OPcache v7.0.6-dev, Copyright (c) 1999-201...
*** # apachectl restart [#y95cb314]
[[php5 を php54 から php55 へ]]
pkg: apache22-2.2.31_1 conflicts with apache24-2.4.23_1 (...
----
Total access &counter(total);:本日 &counter(today);:昨...
#counter([total|today|yesterday]);
ページ名: