Plog v1.0.1 安裝記錄



1. download & extract on $PLOG_ROOT
2. bowers http://www.hoja.idv.tw/plog/wizard.php
3. chown -R apache:apache plog
4. confirm plog/config/config.properties.php can write by apache
add

5. add mysql utf-8 supported for in file $PLOG_ROOT/class/database/adodb/drivers/adodb-mysql.inc.php
/* 將下面的code 加入 function _connect, _pconnect
if ($this->_connectionID === false) return false; 後
*/ mysql_query("SET NAMES utf8",$this->_connectionID);
mysql_query("SET CHARACTER_SET_CLIENT=utf8",$this->_connectionID);
mysql_query("SET CHARACTER_SET_RESULTS=utf8",$this->_connectionID);
/* ----------------------------------------- */
6. chmod 000 wizard.php
7. chmod 000 summary.php(防止外人註冊)
8. change .htaccess
ErrorDocument 401 /plog-1.0.1/error.php => ErrorDocument 401 /plog/error.php
ErrorDocument 403 /plog-1.0.1/error.php
ErrorDocument 404 /plog/error.php

9. add re-write module support
<Directory "$PLOG_ROOT">
Options Multiviews
AllowOverride All
Order allow,deny
Allow from all
</Directory>