///////////////////////////////////////////////// // User definition $auth_users = array( 'editor' => '{x-php-md5}aaajjeeeede86b836c283bc3741e1fcc', 'edit_user' => '{x-php-md5}aaajjeeeede86b836c283bc3741e1fcc', ); ///////////////////////////////////////////////// // Edit auth (0:Disable, 1:Enable) $edit_auth = 1; // Edit auth regex $edit_auth_pages = array( '/\S+/' => 'editor', ); ※md5の値は、下記のようにコマンドラインから実行した値を設定します。 % echo -n 'hogehoge' | md5sum aaajjeeeede86b836c283bc3741e1fcc -
// max file size for upload on PHP(PHP default 2MB) ini_set("upload_max_filesize","2M"); ↓ ini_set("upload_max_filesize","50M"); // Max file size for upload on script of PukiWikiX_FILESIZE define('PLUGIN_ATTACH_MAX_FILESIZE', (1024 * 1024)); // default: 1MB ↓ define('PLUGIN_ATTACH_MAX_FILESIZE', (51200 * 1024)); // default: 50MB
// 最大アップロードサイズ define('PLUGIN_DUMP_MAX_FILESIZE', 1024); // Kbyte ↓ define('PLUGIN_DUMP_MAX_FILESIZE', 51200); // Kbyte
memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) ↓ memory_limit = 80M ; Maximum amount of memory a script may consume (80MB) ; Maximum allowed size for uploaded files. upload_max_filesize = 2M ↓ upload_max_filesize = 50M ; Maximum size of POST data that PHP will accept. post_max_size = 8M ↓ post_max_size = 80M
/etc/init.d/httpd restart