2010年7月8日 星期四

安裝Zzenphoto 相片模組程式

1.至http://www.zenphoto.org/下載程式(目前是1.3版)
2.解壓縮後上傳至網頁目錄
3.新增資料庫(例如:zenphoto)
4.cp zp-core/zp-config.php.source zp-data/zp-config.php
修改zp-config.php中的xxxxx為個人主機的資料
$conf['mysql_user'] = 'xxxxx'; // Supply your MySQL user id.
$conf['mysql_pass'] = 'xxxxx'; // Supply your MySQL password.
$conf['mysql_host'] = 'localhost'; // Supply the name of your MySQL server.
$conf['mysql_database'] = 'xxxxx';
5.修改權限
chmod 777 albums
chmod 777 cache
chmod 777 zp-data
chmod 777 cache_html
chmod 777 plugins
6.輸入http://yourweb/zenphoto/就會進入設定畫面
7.前往完成後,進入管理介面,並設定一個管理員帳號及密碼
8.進入管理介面開始操作