#author("2018-03-15T20:58:55+09:00","default:regex","regex")
◎Pukiwiki 1.5.1の環境
環境は
sudo apt-get install libapache2-mod-php7.0 php7.0-curl php7.0-sqlite3 php7.0-mbstring php7.0-xml
で問題ないはずです。

◎「MIFさんの写真館」
〇スキンとトップアイコンの設置
./image/pictureicon.pngを入れる。
pictureicon.png

・cloud.tar.gzをダウンロード
./skin/へフォルダごと入れる。
pukiwiki.skin.phpに
285:ddo.jp支給のバナー広告を入れる

〇pukiwiki.ini.phpの編集
・スキンの設定
/////////////////////////////////////////////////
// Directory settings II (ended with '/')
// Skins / Stylesheets
define('SKIN_DIR', 'skin/cloud/');

・セーフモード
30: define('PKWK_SAFE_MODE', 1);

・ページタイトル
113:$page_title = 'MIFさんの写真館';

・Site admin's name
121:// Site admin's name (CHANGE THIS)
122:$modifier = 'mifjpn';

・Site admin's Web page
124:// Site admin's Web page (CHANGE THIS)
125:$modifierlink = 'http://mifmif.ddo.jp/';

・defaultpage
128:$defaultpage = 'MIFさんの写真館'; // Top / Default page

・adminpass
178:// Default: always fail
179:$adminpass = '{x-php-md5}MD5パスワード';

・User definition
240://///////////////////////////////////////////////
241:// User definition
242:$auth_users = array(
243: // Username => password
244: '名前' => '{x-php-md5}MD5パスワード',

・Edit auth
274://///////////////////////////////////////////////
275:// Edit auth (0:Disable, 1:Enable)
276:$edit_auth = 1;
277:
278:$edit_auth_pages = array(
279: // Regex Username
280: '##' => '名前',

〇uploadを50MBに
/plugin/attach.inc.php

・max file size for upload
// 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
// 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の編集
389:memory_limit = 128M
809:upload_max_filesize = 128M
656:post_max_size = 128M
と変えます。

〇default.ini.phpの編集
・編集画面のテキストボックスをおおきくした。
/////////////////////////////////////////////////
// テキストエリアのカラム数
$cols =100;

/////////////////////////////////////////////////
// テキストエリアの行数
$rows = 30;

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