#author("2018-09-13T12:49:12+09:00","default:kuji","kuji")
CONTENTS
#contents
----
Lastmodified &lastmod;
----
[[PHP 5.6 から PHP 7 へアップグレード]]
*PukiWiki 1.4.7 to 1.5.1 [#q89d32f7]
https://pukiwiki.osdn.jp/?FAQ/45

|PukiWikiバージョン|>|>|CENTER:PHPバージョン|h
|~|4.1.2 - 5.3| 5.4 - 5.6 |7.0 - 7.2|
|CENTER:1.4.7|CENTER:○|CENTER:×|CENTER:×|
|CENTER:1.5.0|CENTER:○|CENTER:○|CENTER:×|
|CENTER:1.5.1|CENTER:○|CENTER:○|COLOR(#ffff00):BGCOLOR(#ff00ff):CENTER:○|

PukiWiki - PHPバージョン対応表 (○: 動作する, ×: 動作しない)

ということのようなので、
+ まず、Pukiwikiを147から150へUP
+ 続いて150から 151へUP
+ PHPを7xへUP

の手順となる。


----
** Pukiwikiを147から150へUP [#j7fc2de8]
https://pukiwiki.osdn.jp/?PukiWiki/Install/Update/1.5.0

 cd /usr/home/hoge/public_html/pukiwiki-1.4.7
 root@piano2nd:/usr/home/hoge/public_html/pukiwiki-1.4.7 #
 root@piano2nd:/usr/home/hoge/public_html/pukiwiki-1.4.7 # ll
 total 644
 -rw-r--r--  1 kuji  wheel    1254 Apr 29  2005 .htaccess
 -rw-r--r--  1 kuji  wheel     564 Apr 29  2005 .htpasswd
 -rw-r--r--  1 kuji  wheel   18009 Oct 22  2006 COPYING.txt
 -rw-r--r--  1 kuji  wheel   11919 Oct 22  2006 INSTALL.txt
 -rw-r--r--  1 kuji  wheel    2661 Oct 22  2006 README.en.txt.gz
 -rw-r--r--  1 kuji  wheel   16279 Oct 22  2006 README.txt
 -rw-r--r--  1 kuji  wheel     934 Oct 22  2006 UPDATING.en.txt.gz
 -rw-r--r--  1 kuji  wheel   14450 Oct 22  2006 UPDATING.txt
 drwxrwxrwx  2 kuji  wheel   61952 Sep  4 17:43 attach/
 drwxrwxrwx  2 kuji  wheel   38400 Sep 13 08:30 backup/
 drwxrwxrwx  2 kuji  wheel   41984 Sep 13 09:49 cache/
 drwxrwxrwx  2 kuji  wheel   42496 Sep 13 08:30 counter/
 -rw-r--r--  1 kuji  wheel    7372 Mar 23  2013 default.ini.php
 drwxrwxrwx  2 kuji  wheel   39424 Sep 13 08:30 diff/
 -rw-r--r--  1 kuji  wheel   16489 Oct 22  2006 en.lng.php
 -rw-r--r--  1 root  wheel    7406 Mar 15  2013 favicon.ico
 -rw-r--r--  1 root  wheel    6947 Mar 31  2005 freeze2.inc.php
 drwxr-xr-x  3 kuji  wheel    1024 Mar 15  2013 image/
 -rw-r--r--  1 kuji  wheel     708 Jan 15  2012 index.php
 -rw-r--r--  1 root  wheel     708 Jan 15  2012 index.php_php539deNG
 -rw-r--r--  1 kuji  wheel   22720 Mar  8  2009 ja.lng.php
 -rw-r--r--  1 kuji  wheel   14096 Oct 22  2006 keitai.ini.php
 drwxr-xr-x  2 kuji  wheel     512 Jul 27  2014 lib/
 drwxr-xr-x  2 kuji  wheel    2560 Oct 11  2017 plugin/
 -rw-r--r--  1 kuji  wheel   18726 Jan 19  2018 pukiwiki.ini.php
 -rw-r--r--  1 root  wheel    4385 Jun 27  2011 pukiwiki.png
 -rw-r--r--  1 root  wheel      26 Aug 17  2010 robots.txt
 -rw-r--r--  1 kuji  wheel    1510 Oct 22  2006 rules.ini.php
 drwxr-xr-x  2 kuji  wheel    1024 Jan 19  2018 skin/
 -rw-r--r--  1 root  wheel    6770 Jan 19  2018 sp.ini.php
 drwxrwxrwx  2 kuji  wheel   18944 Aug 27 13:39 thumb/
 drwxrwxrwx  2 kuji  wheel     512 Nov 14  2010 trackback/
 -rw-r--r--  1 root  wheel  110457 Sep 13 09:42 update_pukiwiki_147to150_utf8.patch   ←    ダウンロードしたパッチ
 drwxrwxrwx  2 kuji  wheel   38400 Sep 13 08:30 wiki/
 -rw-r--r--  1 kuji  wheel    6960 Oct 22  2006 wiki.en.tgz
 
 
 root@piano2nd:/usr/home/hoge/public_html/pukiwiki-1.4.7 # patch -p1 < update_pukiwiki_147to150_utf8.patch
 Hmm...  Looks like a unified diff to me...
 The text leading up to this was:
 --------------------------
 |diff -ur pukiwiki-1.4.7_notb_utf8/INSTALL.txt pukiwiki-1_5_0_utf8/INSTALL.txt
 |--- pukiwiki-1.4.7_notb_utf8/INSTALL.txt       Sun Oct 22 05:41:09 2006
 |+++ pukiwiki-1_5_0_utf8/INSTALL.txt    Sun Jul 13 13:03:56 2014
 --------------------------
 Patching file INSTALL.txt using Plan A...
 Hunk #1 succeeded at 1.
 Hmm...  The next patch looks like a unified diff to me...
 The text leading up to this was:
 --------------------------
 |Binary files pukiwiki-1.4.7_notb_utf8/README.en.txt.zip and pukiwiki-1_5_0_utf8/README.en.txt.zip differ
 |diff -ur pukiwiki-1.4.7_notb_utf8/README.txt pukiwiki-1_5_0_utf8/README.txt
 |--- pukiwiki-1.4.7_notb_utf8/README.txt        Sun Oct 22 05:41:09 2006
 |+++ pukiwiki-1_5_0_utf8/README.txt     Sun Jul 13 13:03:57 2014
 
 中略
 
 Hmm...  The next patch looks like a unified diff to me...
 The text leading up to this was:
 --------------------------
 |diff -ur pukiwiki-1.4.7_notb_utf8/skin/tdiary.skin.php pukiwiki-1_5_0_utf8/skin/tdiary.skin.php
 |--- pukiwiki-1.4.7_notb_utf8/skin/tdiary.skin.php      Sun Oct 22 05:41:12 2006
 |+++ pukiwiki-1_5_0_utf8/skin/tdiary.skin.php   Sun Jul 13 13:03:57 2014
 --------------------------
 Patching file skin/tdiary.skin.php using Plan A...
 Hunk #1 succeeded at 1.
 Hunk #2 succeeded at 56.
 Hunk #3 succeeded at 602 with fuzz 2 (offset 13 lines).
 Hunk #4 succeeded at 714 (offset 13 lines).
 Hunk #5 succeeded at 722 (offset 13 lines).
 Hmm...  Ignoring the trailing garbage.
 done
 root@piano2nd:/usr/home/hoge/public_html/pukiwiki-1.4.7 # apachectl restart
 Performing sanity check on apache24 configuration:
 Syntax OK
 Stopping apache24.
 Waiting for PIDS: 1118.
 Performing sanity check on apache24 configuration:
 Syntax OK
 Starting apache24.
 root@piano2nd:/usr/home/hoge/public_html/pukiwiki-1.4.7 #

----
** 続いて150から 151へUP [#m020c879]


https://pukiwiki.osdn.jp/?PukiWiki/Install/Update/1.5.1

チョイ嵌まりましたw



----
Total access &counter(total);:本日 &counter(today);:昨日 &counter(yesterday);
#counter([total|today|yesterday]);

トップ   編集 差分 履歴 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS