#author("2018-03-15T21:07:27+09:00","default:regex","regex")
#author("2018-03-16T00:27:46+09:00","default:regex","regex")
*Pukiwiki 1.5.1の環境 [#o3b5279e]
環境は
 sudo apt-get install libapache2-mod-php7.0 php7.0-curl php7.0-sqlite3 php7.0-mbstring php7.0-xml
で問題ないはずです。

*「MIFさんの写真館」 [#xf85d97b]
**スキンとトップアイコンの設置 [#d3a87b23]
./image/pictureicon.pngを入れる。~
&ref(pictureicon.png,zoom,100x100);~
~
**cloud.tar.gzをダウンロード [#zc3015f0]
./skin/へフォルダごと入れる。~
pukiwiki.skin.phpに~
 285:ddo.jp支給のバナー広告を入れる
~
**pukiwiki.ini.phpの編集 [#e4fb96bc]
***スキンの設定 [#w789c2d2]
 /////////////////////////////////////////////////
 // Directory settings II (ended with '/')
 // Skins / Stylesheets
 define('SKIN_DIR', 'skin/cloud/');
~
***セーフモード [#yd6de58f]
 30: define('PKWK_SAFE_MODE', 1);
~
***ページタイトル [#p262c100]
 113:$page_title = 'MIFさんの写真館';
~
***Site admin's name [#y42091be]
 121:// Site admin's name (CHANGE THIS)
 122:$modifier = 'mifjpn';
~
***Site admin's Web page [#ed7e4848]
 124:// Site admin's Web page (CHANGE THIS)
 125:$modifierlink = 'http://mifmif.ddo.jp/';
~
***defaultpage [#x8ac30c0]
 128:$defaultpage = 'MIFさんの写真館'; // Top / Default page
~
***adminpass [#v1cd9908]
 178:// Default: always fail
 179:$adminpass = '{x-php-md5}MD5パスワード';
~
***User definition [#mcab1cc8]
 240://///////////////////////////////////////////////
 241:// User definition
 242:$auth_users = array(
 243: // Username => password
 244: '名前' => '{x-php-md5}MD5パスワード',
~
***Edit auth [#d09d8089]
 274://///////////////////////////////////////////////
 275:// Edit auth (0:Disable, 1:Enable)
 276:$edit_auth = 1;
 277:
 278:$edit_auth_pages = array(
 279: // Regex Username
 280: '##' => '名前',
~
**uploadを50MBに [#h787b622]
/plugin/attach.inc.php~
./plugin/attach.inc.php~

***max file size for upload [#n5b511d8]
 // max file size for upload on PHP(PHP default 2MB)
 ini_set("upload_max_filesize","2M");
となっているところを
 // max file size for upload on PHP(PHP default 2MB)
 ini_set("upload_max_filesize","50M");
に直します。
~
***max file size for upload on script of PukiWiki [#y04baa2a]
 // max file size for upload on script of PukiWiki(default 1MB)
 define("MAX_FILESIZE",1024 * 1024);
となっているところを
 // max file size for upload on script of PukiWiki(default 1MB)
 define("MAX_FILESIZE",50 * 1024 * 1024);
に変えます。
~
***php.iniの編集 [#b1a455e4]
/etc/php/7.0/apache2/php.ini
 389:memory_limit = 128M
 809:upload_max_filesize = 128M
 656:post_max_size = 128M
と変えます。
~
**default.ini.phpの編集 [#rcfd1ed3]
***編集画面のテキストボックスをおおきくした。 [#p4b9206d]
 /////////////////////////////////////////////////
 // テキストエリアのカラム数
 $cols =100;
 
 /////////////////////////////////////////////////
 // テキストエリアの行数
 $rows = 30;
と変えます。


トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS