WebCalendar

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
第10行: 第10行:
 
  chmod a+w settings.php
 
  chmod a+w settings.php
 
  http://localhost/WebCalendar-1.0.4/install/index.php
 
  http://localhost/WebCalendar-1.0.4/install/index.php
注意:若系统缺失php4-mysql libs,会出现
+
注意:若系统缺失php4-mysql 或 php5-mysql libs,会出现
 
  Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/data/calendar/includes/php-dbi.php on line 97的错误
 
  Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/data/calendar/includes/php-dbi.php on line 97的错误
 +
对Debian 用户
 +
apt-get install php4-mysql
 +
对FreeBSD 用户
 +
cd /usr/ports/databases/php5-mysql
 +
make
 +
make install
  
 
创建数据库
 
创建数据库

2006年8月30日 (三) 09:00的版本

WebCalendar is a PHP-based calendar application that can be configured as a single-user calendar, a multi-user calendar for groups of users, or as an event calendar viewable by visitors. MySQL, PostgreSQL, Oracle, DB2, Interbase, MS SQL Server, or ODBC is required.

http://www.k5n.us/webcalendar.php

安装指南

获得 http://heanet.dl.sourceforge.net/sourceforge/webcalendar/WebCalendar-1.0.4.tar.gz
tar WebCalendar-1.0.4.tar.gz
cd includes 
cp settings.php.orig settings.php
chmod a+w settings.php
http://localhost/WebCalendar-1.0.4/install/index.php

注意:若系统缺失php4-mysql 或 php5-mysql libs,会出现

Fatal error: Call to undefined function mysql_pconnect() in /usr/local/www/data/calendar/includes/php-dbi.php on line 97的错误

对Debian 用户

apt-get install php4-mysql

对FreeBSD 用户

cd /usr/ports/databases/php5-mysql
make
make install 

创建数据库

mysql>create database intranet;
mysql>GRANT ALL PRIVILEGES ON intranet.* TO webcalendar@localhost IDENTIFIED BY 'webcal01';
mysql>flush privileges;

mysql intranet < tables-mysql.sql -uroot -p
登录 admin/admin

精彩图集

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱