mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-24 15:49:06 +01:00
tossed in new files
This commit is contained in:
parent
2a880eeaeb
commit
fb2047767f
779
doc/index.html
779
doc/index.html
@ -1,357 +1,540 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=windows-1252">
|
||||
<META NAME="Generator" CONTENT="Microsoft Word 97">
|
||||
<TITLE>phpGroupWare Docs V0</TITLE>
|
||||
</HEAD>
|
||||
<BODY>
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
||||
<html>
|
||||
<meta name="GENERATOR" content="TtH 2.86">
|
||||
|
||||
<P> </P>
|
||||
<B><FONT FACE="Arial" SIZE=7><P ALIGN="CENTER">phpGroupWare Docs V0.05</P>
|
||||
</B></FONT><P> </P>
|
||||
<B><FONT FACE="Arial" SIZE=6><P ALIGN="CENTER">Joseph Engo</P>
|
||||
<P ALIGN="CENTER">Dan Kuykendall</P>
|
||||
</B></FONT>
|
||||
<B><FONT FACE="Arial"><P>phpGroupWare Docs V0.05</P>
|
||||
</B></FONT><P>by Joseph Engo and Dan Kuykendall</P>
|
||||
<B><FONT FACE="Arial" SIZE=7><P>Dedication</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
|
||||
</B></FONT><P> Thanks to Joesph Engo for starting phpGroupWare (at the time called webdistro) and the core of this HOWTO. Thanks to all the developers and users who contribute to making phpGroupWare such a success. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=7><P>Table of Contents</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<title> \textbf{phpGroupWare Docs V0.06}</title>
|
||||
|
||||
</B></FONT><FONT SIZE=2><P></FONT><A HREF="#_20"><B>I. Introduction</B></A><B>	</B><A HREF="#_20"><A HREF="#_20">*</A></A></P><DIR>
|
||||
<h1 align="center"><b>phpGroupWare Docs V0.06</b> </h1>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_WHAT">1. What is phpGroupWare</A>	<A HREF="#ID_WHAT"><A HREF="#ID_WHAT">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_WHY">2. Why you should use it</A>	<A HREF="#ID_WHY"><A HREF="#ID_WHY">*</A></A></P></DIR>
|
||||
<p>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_31"><B>II. Installation</B></A><B>	</B><A HREF="#_31"><A HREF="#_31">*</A></A></P><DIR>
|
||||
<h3 align="center"><b>Joseph Engo</b> </h3>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_REQUIREMENTS">3. Requirements</A>	<A HREF="#ID_REQUIREMENTS"><A HREF="#ID_REQUIREMENTS">*</A></A></P><DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_39">3.1. Tested Systems</A>	<A HREF="#_39"><A HREF="#_39">*</A></A></P></DIR>
|
||||
</DIR>
|
||||
<h3 align="center"><b>Dan Kuykendall</b> </h3>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_INSTALLING">4. Obtaining and Installing phpGroupWare</A>	<A HREF="#ID_INSTALLING"><A HREF="#ID_INSTALLING">*</A></A></P><DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
$Id$
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_TARBALLINS">4.1. Installing from TarBall</A>	<A HREF="#ID_TARBALLINS"><A HREF="#ID_TARBALLINS">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_CVSINS">4.2. Installing from CVS</A>	<A HREF="#ID_CVSINS"><A HREF="#ID_CVSINS">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_FILEPERMS">4.3. Setting File Permissions</A>	<A HREF="#ID_FILEPERMS"><A HREF="#ID_FILEPERMS">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_75">4.4. Setup / Configure phpGroupWare</A>	<A HREF="#_75"><A HREF="#_75">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_81">4.5. Testing the install</A>	<A HREF="#_81"><A HREF="#_81">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_87">4.6. Installing additional applications</A>	<A HREF="#_87"><A HREF="#_87">*</A></A></P></DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_TROUBLE">5. Trouble Shooting</A>	<A HREF="#ID_TROUBLE"><A HREF="#ID_TROUBLE">*</A></A></P><DIR>
|
||||
<DIR>
|
||||
<h2>Dedication </h2>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_TROB1">5.1. I get "Unable to open mailbox" when using the email application</A>	<A HREF="#ID_TROB1"><A HREF="#ID_TROB1">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_TROB2">5.2. It seems to hang when I try to read my mail</A>	<A HREF="#ID_TROB2"><A HREF="#ID_TROB2">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_TROB3">5.3. When I log in I see the directory listing instead of a web page</A>	<A HREF="#ID_TROB3"><A HREF="#ID_TROB3">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_TROB4">5.4. I get garbage that looks like code when I go to the phpGroupWare URL</A>	<A HREF="#ID_TROB4"><A HREF="#ID_TROB4">*</A></A></P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
Thanks to Joesph Engo for starting phpGroupWare (at the time called
|
||||
webdistro) and the core of this HOWTO. Thanks to all the developers
|
||||
and users who contribute to making phpGroupWare such a success.
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_159"><B>VII. About</B></A><B>	</B><A HREF="#_159"><A HREF="#_159">*</A></A></P><DIR>
|
||||
<p>
|
||||
<h2><a name="tth_sEc1">
|
||||
1</a> What is phpGroupWare </h2>
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_HISTORY">6. History of this document</A>	<A HREF="#ID_HISTORY"><A HREF="#ID_HISTORY">*</A></A></P><DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
phpGroupWare is a web based GroupWare system. It comes with serveral
|
||||
core apps for email, calendar, todo list, address book, file manager,
|
||||
and a notepad.
|
||||
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_173">6.1. History</A>	<A HREF="#_173"><A HREF="#_173">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#_176">6.2. Version History</A>	<A HREF="#_176"><A HREF="#_176">*</A></A></P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
It also provides a framework for add-on applications to integrate
|
||||
seamlessly in phpGroupWare. Some samples are a bookmark manager, a
|
||||
trouble ticket system, a weather reporter, a phone log, a chat program,
|
||||
and a forum system. There are many more in development, and you can
|
||||
develop your own as well.
|
||||
|
||||
<P><A NAME="_20"></A></P>
|
||||
<B><FONT FACE="Arial" SIZE=7><P ALIGN="CENTER">I. Introduction</P>
|
||||
</FONT><FONT FACE="Arial" SIZE=6><P>Table of Contents</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
<h2><a name="tth_sEc2">
|
||||
2</a> Why you should use it </h2>
|
||||
|
||||
</B></FONT><FONT SIZE=2><P></FONT><A HREF="#ID_WHAT"><B>1. What is phpGroupWare</B></A><B>	</B><A HREF="#ID_WHAT"><A HREF="#ID_WHAT">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_WHY"><B>2. Why you should use it</B></A><B>	</B><A HREF="#ID_WHY"><A HREF="#ID_WHY">*</A></A></P></DIR>
|
||||
<p>
|
||||
You should use it if you would like a powerful groupware system that
|
||||
can be access from anywhere on the Internet, and allows for custom
|
||||
add-ons. For companies with a distributed user base, it's an ideal
|
||||
solution. Oh, and did I mention that its FREE?
|
||||
|
||||
<P> If you wondering what phpGroupWare is, why you should use it, and how to do so. Then read on. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
<h2><a name="tth_sEc3">
|
||||
3</a> Installation</h2>
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=7><P><A NAME="ID_WHAT"></A>Chapter 1. What is phpGroupWare</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
Installation and Configuration of phpGroupWare has never been easier.
|
||||
Just point and click, yeah it's very easy.
|
||||
|
||||
</B></FONT><P> phpGroupWare is a web based GroupWare system. It comes with serveral core apps for email, calendar, todo list, address book, file manager, and a notepad. </P>
|
||||
<P> It also provides a framework for add-on applications to integrate seamlessly in phpGroupWare. Some samples are a bookmark manager, a trouble ticket system, a weather reporter, a phone log, a chat program, and a forum system. There are many more in development, and you can develop your own as well. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
Since this is still a beta version we do expect some bugs. By carefully
|
||||
reading this document you can easly install phpGroupWare.
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=7><P><A NAME="ID_WHY"></A>Chapter 2. Why you should use it</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
<h3><a name="tth_sEc3.1">
|
||||
3.1</a> Requirements </h3>
|
||||
|
||||
</B></FONT><P> You should use it if you would like a powerful groupware system that can be access from anywhere on the Internet, and allows for custom add-ons. For companies with a distributed user base, it's an ideal solution. Oh, and did I mention that its FREE? </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
You will need PHP compiled and installed on your system. You will
|
||||
also need MySQL or PostgreSQL setup. If you are planning on using
|
||||
the email system, you will need to have an IMAP server installed and
|
||||
IMAP support compiled into PHP. You can have it installed as an Apache
|
||||
module or command line version, the Apache module is preferred. We
|
||||
will assume that you are running on a Linux or other Unix system for
|
||||
these steps. Windows is supported, but there is no documentation for
|
||||
it currently.
|
||||
|
||||
<P><A NAME="_31"></A></P>
|
||||
<B><FONT FACE="Arial" SIZE=7><P ALIGN="CENTER">II. Installation</P>
|
||||
</FONT><FONT FACE="Arial" SIZE=6><P>Table of Contents</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
<h3><a name="tth_sEc3.2">
|
||||
3.2</a> Tested Systems </h3>
|
||||
|
||||
</B></FONT><FONT SIZE=2><P></FONT><A HREF="#ID_REQUIREMENTS"><B>3. Requirements</B></A><B>	</B><A HREF="#ID_REQUIREMENTS"><A HREF="#ID_REQUIREMENTS">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_INSTALLING"><B>4. Obtaining and Installing phpGroupWare</B></A><B>	</B><A HREF="#ID_INSTALLING"><A HREF="#ID_INSTALLING">*</A></A></P>
|
||||
<FONT SIZE=2><P></FONT><A HREF="#ID_TROUBLE"><B>5. Trouble Shooting</B></A><B>	</B><A HREF="#ID_TROUBLE"><A HREF="#ID_TROUBLE">*</A></A></P></DIR>
|
||||
<p>
|
||||
On Linux 2.2.x, 2.4.x
|
||||
|
||||
<P> Installation and Configuration of phpGroupWare has never been easier. Just point and click, yeah its very easy :-). </P>
|
||||
<P> Since this is still a beta version we do expect some bugs. By carefully reading this document you can easly install phpGroupWare. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
PHP 3.0.15+ / PHP 4.0.x
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=7><P><A NAME="ID_REQUIREMENTS"></A>Chapter 3. Requirements</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
Apache 1.3.x
|
||||
|
||||
</B></FONT><P> You will need PHP compiled and installed on your system. You will also need MySQL or PostgreSQL setup. If you are planning on using the email system, you will need to have an IMAP server installed and IMAP support compiled into PHP. You can have it installed as an Apache module or command line version, the Apache module is preferred. We will assume that you are running on a Linux or other Unix system for these steps. Windows is supported, but there is no documentation for it currently. </P>
|
||||
<B><FONT FACE="Arial"><P><A NAME="_39"></A>3.1. Tested Systems</P>
|
||||
</B></FONT><P> On Linux 2.2.x </P>
|
||||
<FONT SIZE=2><P>•	</FONT>PHP 3.0.15+ / PHP 4.0.x</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Apache 1.3.x</P>
|
||||
<FONT SIZE=2><P>•	</FONT>MySQL 3.22.25 or PostgreSQL 7.0.x</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Courier-IMAP 0.33+ and/or qmail 1.03 for POP3 access</P>
|
||||
<P> We have reports of it working on Windows NT and OS/2, and using Oracle as the database.</P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
MySQL 3.22.25 or PostgreSQL 7.0.x
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=7><P><A NAME="ID_INSTALLING"></A>Chapter 4. Obtaining and Installing phpGroupWare</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
Courier-IMAP 0.33+ and/or qmail 1.03 for POP3 access
|
||||
|
||||
</B></FONT><P> After you have met the system requirements, You can install it from the TarBall or you can get it directly from CVS. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
We have reports of it working on Windows NT and OS/2, and using Oracle
|
||||
as the database.
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="ID_TARBALLINS"></A>4.1. Installing from TarBall</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
<h2><a name="tth_sEc4">
|
||||
4</a> Obtaining and Installing phpGroupWare </h2>
|
||||
|
||||
</B></FONT><P> Installing from a TarBall is very easy. The files should be installed in the webserver directory. Example steps (please adjust to your servers config): </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>cp phpgroupware-version.tar.gz /home/httpd/html</P>
|
||||
<P>cd /home/httpd/html</P>
|
||||
<P>tar zxf phpgroupware-version.tar.gz</P>
|
||||
<P> </P>
|
||||
</FONT><P> You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory. </P>
|
||||
<P> You can get current releases of phpGroupWare at the phpGroupware <I>website</I> (http://www.phpgroupware.org/downloads.php). </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
After you have met the system requirements, You can install it from
|
||||
the TarBall or you can get it directly from CVS.
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="ID_CVSINS"></A>4.2. Installing from CVS</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
<h3><a name="tth_sEc4.1">
|
||||
4.1</a> Installing from TarBall </h3>
|
||||
|
||||
</B></FONT><P> Installing from a CVS is fairly easy. The files should be checked out in the webserver directory. Example steps (please adjust to your servers config): </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>cd /home/httpd/html</P>
|
||||
<P>cvs -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware login (just hit enter if prompted for a password)</P>
|
||||
<P>cvs -z3 -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware co phpgroupware</P>
|
||||
<P> </P>
|
||||
</FONT><P> or if you prefer using CVSROOT: </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware'</P>
|
||||
<P>cvs login (just hit enter if prompted for a password)</P>
|
||||
<P>cvs co headlines</P>
|
||||
<P> </P>
|
||||
</FONT><P> You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
Installing from a TarBall is very easy. The files should be installed
|
||||
in the webserver directory. Example steps (please adjust to your servers
|
||||
config):
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="ID_FILEPERMS"></A>4.3. Setting File Permissions</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
cp phpgroupware-version.tar.gz /home/httpd/html
|
||||
|
||||
</B></FONT><P> There are a few directories which will need special fie permissions set for phpGroupWare to work properly. </P>
|
||||
<P> Temp Directory (Required) - This can be /tmp for simplicity, but it is required for several apps to function properly. Simply make sure that the webserver can add/delete files in it. </P>
|
||||
<P> Files Directory (Required) - This can be should be the files dir under the phpgroupware dir. You will need to give the webserver account owndership of this directory. </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>chown nobody:nobody</P>
|
||||
<P>chmod 700 /home/httpd/html/phpgroupware/files</P>
|
||||
<P> </P>
|
||||
</FONT><P> </P>
|
||||
<P> Root Directory (Not recommended) - If you give the webserver account write access to the phpgroupware directory, then the setup program can create the header.inc.php for you. Otherwise you will need to use the setup program to create it, and then you can manually save it to file. </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>If you want to do it:</P>
|
||||
<P>chown :nobody /home/httpd/html/phpgroupware</P>
|
||||
<P>chmod 770</P>
|
||||
<P> </P>
|
||||
</FONT><P> </P>
|
||||
<P> You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
cd /home/httpd/html
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="_75"></A>4.4. Setup / Configure phpGroupWare</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
tar zxf phpgroupware-version.tar.gz
|
||||
|
||||
</B></FONT><P> Point your browser to phpgroupware/setup/ which will create (or upgrade) the header.inc.php and database tables. Setup will attempt to determine what version of the phpGroupWare databases and header.inc.php you have installed, and upgrade to the most recent version. </P><DIR>
|
||||
<p>
|
||||
You may have to get required permissions to do this. Contact your
|
||||
system administrator if you dont have the permission to write to your
|
||||
webserver directory.
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=3><P>Note: </B>You are advised to backup your existing alpha database before running the setup script to avoid problems!</P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
You can get current releases of phpGroupWare at the phpGroupware <em>website</em>
|
||||
(<a href="http://www.phpgroupware.org/downloads.php"><tt>http://www.phpgroupware.org/downloads.php</tt></a>).
|
||||
|
||||
</FONT><B><FONT FACE="Arial" SIZE=6><P><A NAME="_81"></A>4.5. Testing the install</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
<h3><a name="tth_sEc4.2">
|
||||
4.2</a> Installing from CVS </h3>
|
||||
|
||||
</B></FONT><P> If your config is setup properly you can now login. Point your browser to the installed location and login with the username <FONT FACE="Courier New" SIZE=3>demo</FONT> and the password is <FONT FACE="Courier New" SIZE=3>1234</FONT> </P>
|
||||
<P> At this point it would be a good idea to create a new user with administrative privileges and delete the old one. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
Installing from a CVS is fairly easy. The files should be checked
|
||||
out in the webserver directory. Example steps (please adjust to your
|
||||
servers config):
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="_87"></A>4.6. Installing additional applications</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
cd /home/httpd/html
|
||||
|
||||
</B></FONT><P> Once you have the core phpGroupWare install up and running, you may want to download and install additional applications. </P>
|
||||
<P> You should consult any <FONT FACE="Courier New" SIZE=3>README</FONT> or <FONT FACE="Courier New" SIZE=3>INSTALL</FONT> files that come with the new application first, as most require you to create additional tables in the database, and add additional translation data to the lang table (typically a file called <FONT FACE="Courier New" SIZE=3>lang.sql</FONT>) </P>
|
||||
<P> You install the new application within the phpGroupWare install tree by copying the application directory into the phpGroupWare install location, and enabling the application through the Administration page. </P>
|
||||
<P> For example, this is the process to install the Headlines application (see <I>http://sourceforge.net/phpgwapps/</I> (http://sourceforge.net/phpgwapps/) for more on this and other applications). </P>
|
||||
<FONT SIZE=2><P>•	</FONT>Download the .tar.gz file for the application, or check out the source with cvs with </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P> export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgwapps'</P>
|
||||
<P> cvs login (just hit enter if prompted for a password)</P>
|
||||
<P> cvs co headlines</P>
|
||||
<P> </P>
|
||||
</FONT><FONT SIZE=2><P>•	</FONT>Move the <FONT FACE="Courier New" SIZE=3>headlines</FONT> directory into your phpGroupWare install directory.</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Log into phpGroupWare as an administrative user, and go to the Administration page. </P>
|
||||
<FONT SIZE=2><P>•	</FONT>In the first section, choose the <FONT FACE="Courier New" SIZE=3>Applications</FONT> link. </P>
|
||||
<FONT SIZE=2><P>•	</FONT>Click on add, and fill in the form.</P>
|
||||
<P> Application name should be identical to the name of the directory you moved into the phpGroupWare install, in this case use <FONT FACE="Courier New" SIZE=3>headlines</FONT> </P>
|
||||
<P> Application Title is shown in the navigation bar and other places to refer to the new application. Enter <FONT FACE="Courier New" SIZE=3>Headlines</FONT> for this example. </P>
|
||||
<P> Enabled can be used to disable an application for all users temporially. You should normal check the box to enable the application. </P>
|
||||
<FONT SIZE=2><P>•	</FONT>Back in the Administration page, you need to enable the application for specific users or user groups by editing them, and checking the new <FONT FACE="Courier New" SIZE=3>Headlines</FONT> box that appears in the middle of the account editing page.</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Once you have added the Headlines app to your account, you should see a Headlines entry in the Administration and Preferences pages, and there should be an icon for the Headlines application in the navigation bar.</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Once you enable a few of the Headlines sites through the Administration page link, you should see headlines grabbed from the sites you selected when you click on the Headlines icon in the navigation bar.</P>
|
||||
<P> </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
cvs -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware
|
||||
login (just hit enter if prompted for a password)
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=7><P><A NAME="ID_TROUBLE"></A>Chapter 5. Trouble Shooting</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
cvs -z3 -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware
|
||||
co phpgroupware
|
||||
|
||||
</FONT><FONT FACE="Arial" SIZE=5><P ALIGN="CENTER">Warning</P>
|
||||
</B></FONT><FONT FACE="Arial" SIZE=3><P> phpGroupWare is still Beta software, expect some bugs along the way. If you run into a problem not discussed here, contact us through one of the methods listed on the website. </P>
|
||||
<p>
|
||||
or if you prefer using CVSROOT:
|
||||
|
||||
<P> </P></DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware'
|
||||
|
||||
</FONT><P> The phpGroupWare developers can most often be seen hanging out in <I>#phpGroupWare</I> on <I>irc.openprojects.net</I> if you require real-time help. </P>
|
||||
<P> Also check the FAQ in this directory for additional common questions, it is available as FAQ.sgml, FAQ.txt and FAQ.html </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="ID_TROB1"></A>5.1. I get "Unable to open mailbox" when using the email application</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
cvs co phpgroupware
|
||||
|
||||
</B></FONT><P> At the time of this writing (2000-09-27) you must use the same username and password in phpGroupWare that you use to log into your mail server. If you change your password and it still isn't working, try logging out of phpGroupWare (the rightmost icon in the navigation bar) and then log back in. </P>
|
||||
<P> An preference page to edit the email settings is being developed, and should appear shortly after the first beta release. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
You may have to get required permissions to do this. Contact your
|
||||
system administrator if you dont have the permission to write to your
|
||||
webserver directory.
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="ID_TROB2"></A>5.2. It seems to hang when I try to read my mail</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
<h3><a name="tth_sEc4.3">
|
||||
4.3</a> Setting File Permissions </h3>
|
||||
|
||||
</B></FONT><P> This is often a problem if you are using POP3 instead of IMAP, and you have more than a few hundred messages in your mailbox. </P>
|
||||
<P> By default, php is set up to time-out a request that takes over 30 seconds to complete. phpGroupWare must do a lot of work the first time your POP3 mailbox is opened, and every time you get new mail, which may take more than the 30 second timeout. </P>
|
||||
<P> You can either clean up your mailbox with another mail program, or add the line </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>set_time_limit(0);</P>
|
||||
<P> </P>
|
||||
</FONT><P> to the top of the phpgwapi/inc/phpgw_msg_pop3.inc.php file, just before the line <FONT FACE="Courier New" SIZE=3>class msg extends msg_common</FONT> </P>
|
||||
<P> If you choose to edit the file, be patient when loading a large POP3 mailbox - the author tested against a mailbox with 2500 messages in it, but it took 15 minutes to load the page. We highly suggest you use IMAP if you expect to have more than a few hundred messages in your mailbox. </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
There are a few directories which will need special fie permissions
|
||||
set for phpGroupWare to work properly.
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="ID_TROB3"></A>5.3. When I log in I see the directory listing instead of a web page</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
Temp Directory (Required) - This can be /tmp for simplicity, but it
|
||||
is required for several apps to function properly. Simply make sure
|
||||
that the webserver can add/delete files in it.
|
||||
|
||||
</B></FONT><P>You are using Apache, this often means you need to add <FONT FACE="Courier New" SIZE=3>.php</FONT> to the <FONT FACE="Courier New" SIZE=3>DirectoryIndex</FONT> line in your httpd.conf file. For example: </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>DirectoryIndex index.php index.php3 index.html index.htm index.cgi</P>
|
||||
<P> </P>
|
||||
</FONT><P> </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
Files Directory (Required) - This can be should be the files dir under
|
||||
the phpgroupware dir. You will need to give the webserver account
|
||||
owndership of this directory.
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=6><P><A NAME="ID_TROB4"></A>5.4. I get garbage that looks like code when I go to the phpGroupWare URL</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
chown nobody:nobody
|
||||
|
||||
</B></FONT><P> This is often because you have php3 installed, which does not map <FONT FACE="Courier New" SIZE=3>.php</FONT> to the PHP engine. For PHP3: </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>AddType application/x-httpd-php3 .php3 .php</P>
|
||||
<P> </P>
|
||||
</FONT><P>For PHP4: </P>
|
||||
<FONT FACE="Courier New" SIZE=3><P>AddType application/x-httpd-php .php3 .php</P>
|
||||
<P> </P>
|
||||
</FONT><P> </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
chmod 700 /home/httpd/html/phpgroupware/files
|
||||
|
||||
<P><A NAME="_159"></A></P>
|
||||
<B><FONT FACE="Arial" SIZE=7><P ALIGN="CENTER">VII. About</P>
|
||||
</FONT><FONT FACE="Arial" SIZE=6><P>Table of Contents</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
Root Directory (Not recommended) - If you give the webserver account
|
||||
write access to the phpgroupware directory, then the setup program
|
||||
can create the header.inc.php for you. Otherwise you will need to
|
||||
use the setup program to create it, and then you can manually save
|
||||
it to file.
|
||||
|
||||
</B></FONT><FONT SIZE=2><P></FONT><A HREF="#ID_HISTORY"><B>6. History of this document</B></A><B>	</B><A HREF="#ID_HISTORY"><A HREF="#ID_HISTORY">*</A></A></P></DIR>
|
||||
<p>
|
||||
If you want to do it:
|
||||
|
||||
<P> The newest version of this document can be found on our website <I>www.phpgroupware.org</I> (http://www.phpgroupware.org) as SGML source, HTML, or TEXT. </P>
|
||||
<P> Comments on this HOWTO should be directed to the phpGroupWare developers mailing list <I>phpgroupware-developers@lists.sourceforge.net</I> (mailto:phpgroupware-developers@lists.sourceforge.net) </P>
|
||||
<P> To subscribe, go to <I>http://sourceforge.net/mail/?group_id=7305</I> (http://sourceforge.net/mail/?group_id=7305) </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
<p>
|
||||
chown :nobody /home/httpd/html/phpgroupware
|
||||
|
||||
<B><FONT FACE="Arial" SIZE=7><P><A NAME="ID_HISTORY"></A>Chapter 6. History of this document</P><DIR>
|
||||
<DIR>
|
||||
<DIR>
|
||||
<p>
|
||||
chmod 770
|
||||
|
||||
</FONT><FONT FACE="Arial"><P><A NAME="_173"></A>6.1. History</P>
|
||||
</B></FONT><P> This document was started by Joseph Engo and reworked by Dan Kuykendall. </P>
|
||||
<B><FONT FACE="Arial"><P><A NAME="_176"></A>6.2. Version History</P>
|
||||
</B></FONT><P> Old Version </P>
|
||||
<FONT SIZE=2><P>•	</FONT>Created by Jengo, wasn't in SGML HOWTO format.</P>
|
||||
<P> </P>
|
||||
<P> v1.0 (July 6, 2000) </P>
|
||||
<P> </P>
|
||||
<FONT SIZE=2><P>•	</FONT>Built proper SGML version.</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Included the FAQ.</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Other minor additions.</P>
|
||||
<P> </P>
|
||||
<P> v1.1 (September 27-29, 2000) - blinky </P>
|
||||
<P> </P>
|
||||
<FONT SIZE=2><P>•	</FONT>Added Testing Install section</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Added Trouble-shooting section</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Added description of application installation</P>
|
||||
<FONT SIZE=2><P>•	</FONT>Changes for the new setup program</P>
|
||||
<P> </P>
|
||||
<P> v0.01 (October 15 , 2000) - gnrfan , Converted the HOWTO to DocBook format </P>
|
||||
<P> v.0.05 (November 5, 2000) - gnrfan , Completely revamped according to Seek's idea and intregrated the Developers HOWTO. </P>
|
||||
<P> v 0.xx (Somewhere in the near future) - gnrfan, Trail map comming up on how to hack and learn about coding phpGroupWare(core) and its apps too :-). </P></DIR>
|
||||
</DIR>
|
||||
</DIR>
|
||||
</BODY>
|
||||
</HTML>
|
||||
<p>
|
||||
You may have to get required permissions to do this. Contact your
|
||||
system administrator if you dont have the permission to write to your
|
||||
webserver directory.
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc4.4">
|
||||
4.4</a> Setup the database</h3>
|
||||
|
||||
<p>
|
||||
<h4><a name="tth_sEc4.4.1">
|
||||
4.4.1</a> Mysql (assuming an existing and working Mysql install)</h4>
|
||||
|
||||
<p>
|
||||
|
||||
<ul><p>
|
||||
<li> Mandrake or Redhat: /etc/rc.d/init.d/mysqld start</li>
|
||||
<p>
|
||||
<li> other: /usr/local/mysql/bin/safe_mysqld &</li>
|
||||
<p>
|
||||
<li> create the empty database: mysqldadmin -u someuser create phpgroupware
|
||||
-p</li>
|
||||
<p>
|
||||
<li> login to mysql: mysql -u someuser -p</li>
|
||||
<p>
|
||||
<li> issue the following at the mysql prompt:</li>
|
||||
<p>
|
||||
<li> grant all on phpgroupware.* to phpgroupware@localhost identified
|
||||
by ``somepassword'';</li>
|
||||
</ul>
|
||||
For more detailed user documentation on Mysql see their website :
|
||||
<a href="http://www.mysql.com"><tt>http://www.mysql.com</tt></a>
|
||||
|
||||
<p>
|
||||
<h4><a name="tth_sEc4.4.2">
|
||||
4.4.2</a> Postgresql (assuming an existing and working Postgresql install)</h4>
|
||||
|
||||
<p>
|
||||
To create the required database in Postgresql make sure postgresql
|
||||
is started:
|
||||
|
||||
<p>
|
||||
|
||||
<ul><p>
|
||||
<li> Mandrake or Redhat : /etc/rc.d/init.d/postgresql start</li>
|
||||
<p>
|
||||
<li> others: pg_ctl -D /path/to/database/dir -p /path/to/postmaster start</li>
|
||||
<p>
|
||||
<li> create the empty database: createdb phpgroupware</li>
|
||||
</ul>
|
||||
For more detailed user documentation on Postgresql see their website
|
||||
: <a href="http://www.postgresql.org"><tt>http://www.postgresql.org</tt></a>
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc4.5">
|
||||
4.5</a> Setup / Configure phpGroupWare </h3>
|
||||
|
||||
<p>
|
||||
Point your browser to phpgroupware/setup/ which will create (or upgrade)
|
||||
the header.inc.php and database tables. Setup will attempt to determine
|
||||
what version of the phpGroupWare databases and header.inc.php you
|
||||
have installed, and upgrade to the most recent version.
|
||||
|
||||
<p>
|
||||
<b>Note:</b> You are advised to backup your existing alpha database
|
||||
before running the setup script to avoid problems!
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc4.6">
|
||||
4.6</a> Testing the install </h3>
|
||||
|
||||
<p>
|
||||
If your config is setup properly you can now login. Point your browser
|
||||
to the installed location and login with the username demo and the
|
||||
password is 1234
|
||||
|
||||
<p>
|
||||
At this point it would be a good idea to create a new user with administrative
|
||||
privileges and delete the old one.
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc4.7">
|
||||
4.7</a> Installing additional applications </h3>
|
||||
|
||||
<p>
|
||||
Once you have the core phpGroupWare install up and running, you may
|
||||
want to download and install additional applications.
|
||||
|
||||
<p>
|
||||
You should consult any README or INSTALL files that come with the
|
||||
new application first, as most require you to create additional tables
|
||||
in the database, and add additional translation data to the lang table
|
||||
(typically a file called lang.sql)
|
||||
|
||||
<p>
|
||||
You install the new application within the phpGroupWare install tree
|
||||
by copying the application directory into the phpGroupWare install
|
||||
location, and enabling the application through the Administration
|
||||
page.
|
||||
|
||||
<p>
|
||||
For example, this is the process to install the Headlines application:
|
||||
|
||||
<p>
|
||||
(see <a href="http://www.sourceforge.net/projects/phpgwapps"><tt>http://www.sourceforge.net/projects/phpgwapps</tt></a> for more
|
||||
applications)
|
||||
|
||||
<p>
|
||||
Download the .tar.gz file for the application, or check out the source
|
||||
with cvs with
|
||||
|
||||
<p>
|
||||
export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgwapps'
|
||||
|
||||
<p>
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
|
||||
<p>
|
||||
cvs co headlines
|
||||
|
||||
<p>
|
||||
Move the headlines directory into your phpGroupWare install directory.
|
||||
|
||||
<p>
|
||||
Log into phpGroupWare as an administrative user, and go to the Administration
|
||||
page.
|
||||
|
||||
<p>
|
||||
In the first section, choose the Applications link.
|
||||
|
||||
<p>
|
||||
Click on add, and fill in the form.
|
||||
|
||||
<p>
|
||||
Application name should be identical to the name of the directory
|
||||
you moved into the phpGroupWare install, in this case use headlines
|
||||
|
||||
<p>
|
||||
Application Title is shown in the navigation bar and other places
|
||||
to refer to the new application. Enter Headlines for this example.
|
||||
|
||||
<p>
|
||||
Enabled can be used to disable an application for all users temporially.
|
||||
You should normal check the box to enable the application.
|
||||
|
||||
<p>
|
||||
Back in the Administration page, you need to enable the application
|
||||
for specific users or user groups by editing them, and checking the
|
||||
new Headlines box that appears in the middle of the account editing
|
||||
page.
|
||||
|
||||
<p>
|
||||
Once you have added the Headlines app to your account, you should
|
||||
see a Headlines entry in the Administration and Preferences pages,
|
||||
and there should be an icon for the Headlines application in the navigation
|
||||
bar.
|
||||
|
||||
<p>
|
||||
Once you enable a few of the Headlines sites through the Administration
|
||||
page link, you should see headlines grabbed from the sites you selected
|
||||
when you click on the Headlines icon in the navigation bar.
|
||||
|
||||
<p>
|
||||
<h2><a name="tth_sEc5">
|
||||
5</a> Trouble Shooting</h2>
|
||||
|
||||
<p>
|
||||
<b>Warning </b>
|
||||
|
||||
<p>
|
||||
phpGroupWare is still Beta software, expect some bugs along the way.
|
||||
If you run into a problem not discussed here, contact us through one
|
||||
of the methods listed on the website.
|
||||
|
||||
<p>
|
||||
The phpGroupWare developers can most often be seen hanging out in
|
||||
<em>#phpGroupWare</em> on <em>irc.openprojects.net</em> if you require
|
||||
real-time help.
|
||||
|
||||
<p>
|
||||
Also check the FAQ in this directory for additional common questions,
|
||||
it is available as FAQ.sgml, FAQ.txt and FAQ.html
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc5.1">
|
||||
5.1</a> It seems to hang when I try to read my mail </h3>
|
||||
|
||||
<p>
|
||||
This is often a problem if you are using POP3 instead of IMAP, and
|
||||
you have more than a few hundred messages in your mailbox.
|
||||
|
||||
<p>
|
||||
By default, php is set up to time-out a request that takes over 30
|
||||
seconds to complete. phpGroupWare must do a lot of work the first
|
||||
time your POP3 mailbox is opened, and every time you get new mail,
|
||||
which may take more than the 30 second timeout.
|
||||
|
||||
<p>
|
||||
You can either clean up your mailbox with another mail program, or
|
||||
add the line
|
||||
|
||||
<p>
|
||||
set_time_limit(0);
|
||||
|
||||
<p>
|
||||
to the top of the phpgwapi/inc/phpgw_msg_pop3.inc.php file, just
|
||||
before the line class msg extends msg_common
|
||||
|
||||
<p>
|
||||
If you choose to edit the file, be patient when loading a large POP3
|
||||
mailbox - the author tested against a mailbox with 2500 messages in
|
||||
it, but it took 15 minutes to load the page. We highly suggest you
|
||||
use IMAP if you expect to have more than a few hundred messages in
|
||||
your mailbox.
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc5.2">
|
||||
5.2</a> When I log in I see the directory listing instead of a web page </h3>
|
||||
|
||||
<p>
|
||||
You are using Apache, this often means you need to add .php to the
|
||||
DirectoryIndex line in your httpd.conf file. For example:
|
||||
|
||||
<p>
|
||||
DirectoryIndex index.php index.php3 index.html index.htm index.cgi
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc5.3">
|
||||
5.3</a> I get garbage that looks like code when I go to the phpGroupWare
|
||||
URL </h3>
|
||||
|
||||
<p>
|
||||
This is often because you have php3 installed, which does not map
|
||||
.php to the PHP engine. For PHP3:
|
||||
|
||||
<p>
|
||||
AddType application/x-httpd-php3 .php3 .php
|
||||
|
||||
<p>
|
||||
For PHP4:
|
||||
|
||||
<p>
|
||||
AddType application/x-httpd-php .php3 .php
|
||||
|
||||
<p>
|
||||
<h2><a name="tth_sEc6">
|
||||
6</a> About this document</h2>
|
||||
|
||||
<p>
|
||||
The newest version of this document can be found on our website <a href="http://www.phpgroupware.org"><tt>http://www.phpgroupware.org</tt></a>
|
||||
as lyx source, HTML, or TEXT.
|
||||
|
||||
<p>
|
||||
Comments on this HOWTO should be directed to the phpGroupWare developers
|
||||
mailing list <em>phpgroupware-developers@lists.sourceforge.net</em>
|
||||
|
||||
<p>
|
||||
To subscribe, go to <em><a href="http://sourceforge.net/mail/?group"><tt>http://sourceforge.net/mail/?group</tt></a>_id=7305</em>
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc6.1">
|
||||
6.1</a> History </h3>
|
||||
|
||||
<p>
|
||||
This document was started by Joseph Engo reworked by Dan Kuykendall
|
||||
then hacked again by Darryl VanDorp
|
||||
|
||||
<p>
|
||||
<h3><a name="tth_sEc6.2">
|
||||
6.2</a> Version History </h3>
|
||||
|
||||
<p>
|
||||
Old Version
|
||||
|
||||
<p>
|
||||
Created by Jengo, wasn't in SGML HOWTO format.
|
||||
|
||||
<p>
|
||||
v1.0 (July 6, 2000)
|
||||
|
||||
<p>
|
||||
Built proper SGML version.
|
||||
|
||||
<p>
|
||||
Included the FAQ.
|
||||
|
||||
<p>
|
||||
Other minor additions.
|
||||
|
||||
<p>
|
||||
v1.1 (September 27-29, 2000) - blinky
|
||||
|
||||
<p>
|
||||
Added Testing Install section
|
||||
|
||||
<p>
|
||||
Added Trouble-shooting section
|
||||
|
||||
<p>
|
||||
Added description of application installation
|
||||
|
||||
<p>
|
||||
Changes for the new setup program
|
||||
|
||||
<p>
|
||||
v0.01 (October 15 , 2000) - gnrfan , Converted the HOWTO to DocBook
|
||||
format
|
||||
|
||||
<p>
|
||||
v.0.05 (November 5, 2000) - gnrfan , Completely revamped according
|
||||
to Seek's idea and intregrated the Developers HOWTO.
|
||||
|
||||
<p>
|
||||
v.0.06 (Jan 10, 2001) - Darryl VanDorp, imported to lyx source reformatted
|
||||
and touched up some sections
|
||||
|
||||
<br /><br /><hr /><small>File translated from
|
||||
T<sub><font size="-1">E</font></sub>X
|
||||
by <a href="http://hutchinson.belmont.ma.us/tth/">
|
||||
T<sub><font size="-1">T</font></sub>H</a>,
|
||||
version 2.86.<br />On 10 Jan 2001, 23:02.</small>
|
||||
</html>
|
||||
|
616
doc/index.lyx
Normal file
616
doc/index.lyx
Normal file
@ -0,0 +1,616 @@
|
||||
#LyX 1.1 created this file. For more info see http://www.lyx.org/
|
||||
\lyxformat 2.17
|
||||
\textclass article
|
||||
\begin_preamble
|
||||
\usepackage{fullpage, graphicx, url}
|
||||
\setlength{\parskip}{1ex}
|
||||
\setlength{\parindent}{0ex}
|
||||
\title{phpGroupWare Docs V0}
|
||||
\end_preamble
|
||||
\language english
|
||||
\inputencoding auto
|
||||
\fontscheme default
|
||||
\graphics default
|
||||
\paperfontsize 10
|
||||
\spacing single
|
||||
\papersize Default
|
||||
\paperpackage a4
|
||||
\use_geometry 0
|
||||
\use_amsmath 0
|
||||
\paperorientation portrait
|
||||
\secnumdepth 3
|
||||
\tocdepth 3
|
||||
\paragraph_separation indent
|
||||
\defskip medskip
|
||||
\quotes_language english
|
||||
\quotes_times 2
|
||||
\papercolumns 1
|
||||
\papersides 1
|
||||
\paperpagestyle default
|
||||
|
||||
\layout Title
|
||||
|
||||
|
||||
\series bold
|
||||
phpGroupWare Docs V0.06
|
||||
\layout Author
|
||||
|
||||
|
||||
\series bold
|
||||
Joseph Engo
|
||||
\layout Author
|
||||
|
||||
|
||||
\series bold
|
||||
Dan Kuykendall
|
||||
\series default
|
||||
|
||||
\layout Standard
|
||||
|
||||
$Id$
|
||||
\layout Section*
|
||||
|
||||
Dedication
|
||||
\layout Standard
|
||||
|
||||
Thanks to Joesph Engo for starting phpGroupWare (at the time called webdistro)
|
||||
and the core of this HOWTO.
|
||||
Thanks to all the developers and users who contribute to making phpGroupWare
|
||||
such a success.
|
||||
|
||||
\layout Section
|
||||
|
||||
What is phpGroupWare
|
||||
\layout Standard
|
||||
|
||||
phpGroupWare is a web based GroupWare system.
|
||||
It comes with serveral core apps for email, calendar, todo list, address
|
||||
book, file manager, and a notepad.
|
||||
\layout Standard
|
||||
|
||||
It also provides a framework for add-on applications to integrate seamlessly
|
||||
in phpGroupWare.
|
||||
Some samples are a bookmark manager, a trouble ticket system, a weather
|
||||
reporter, a phone log, a chat program, and a forum system.
|
||||
There are many more in development, and you can develop your own as well.
|
||||
|
||||
\layout Section
|
||||
|
||||
Why you should use it
|
||||
\layout Standard
|
||||
|
||||
You should use it if you would like a powerful groupware system that can
|
||||
be access from anywhere on the Internet, and allows for custom add-ons.
|
||||
For companies with a distributed user base, it's an ideal solution.
|
||||
Oh, and did I mention that its FREE?
|
||||
\layout Section
|
||||
|
||||
Installation
|
||||
\layout Standard
|
||||
|
||||
Installation and Configuration of phpGroupWare has never been easier.
|
||||
Just point and click, yeah it's very easy.
|
||||
\layout Standard
|
||||
|
||||
Since this is still a beta version we do expect some bugs.
|
||||
By carefully reading this document you can easly install phpGroupWare.
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Requirements
|
||||
\layout Standard
|
||||
|
||||
You will need PHP compiled and installed on your system.
|
||||
You will also need MySQL or PostgreSQL setup.
|
||||
If you are planning on using the email system, you will need to have an
|
||||
IMAP server installed and IMAP support compiled into PHP.
|
||||
You can have it installed as an Apache module or command line version,
|
||||
the Apache module is preferred.
|
||||
We will assume that you are running on a Linux or other Unix system for
|
||||
these steps.
|
||||
Windows is supported, but there is no documentation for it currently.
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Tested Systems
|
||||
\layout Standard
|
||||
|
||||
On Linux 2.2.x, 2.4.x
|
||||
\layout Standard
|
||||
|
||||
PHP 3.0.15+ / PHP 4.0.x
|
||||
\layout Standard
|
||||
|
||||
Apache 1.3.x
|
||||
\layout Standard
|
||||
|
||||
MySQL 3.22.25 or PostgreSQL 7.0.x
|
||||
\layout Standard
|
||||
|
||||
Courier-IMAP 0.33+ and/or qmail 1.03 for POP3 access
|
||||
\layout Standard
|
||||
|
||||
We have reports of it working on Windows NT and OS/2, and using Oracle as
|
||||
the database.
|
||||
|
||||
\layout Section
|
||||
|
||||
Obtaining and Installing phpGroupWare
|
||||
\layout Standard
|
||||
|
||||
After you have met the system requirements, You can install it from the
|
||||
TarBall or you can get it directly from CVS.
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Installing from TarBall
|
||||
\layout Standard
|
||||
|
||||
Installing from a TarBall is very easy.
|
||||
The files should be installed in the webserver directory.
|
||||
Example steps (please adjust to your servers config):
|
||||
\layout Standard
|
||||
|
||||
cp phpgroupware-version.tar.gz /home/httpd/html
|
||||
\layout Standard
|
||||
|
||||
cd /home/httpd/html
|
||||
\layout Standard
|
||||
|
||||
tar zxf phpgroupware-version.tar.gz
|
||||
\layout Standard
|
||||
|
||||
You may have to get required permissions to do this.
|
||||
Contact your system administrator if you dont have the permission to write
|
||||
to your webserver directory.
|
||||
\layout Standard
|
||||
|
||||
You can get current releases of phpGroupWare at the phpGroupware
|
||||
\emph on
|
||||
website
|
||||
\emph default
|
||||
(
|
||||
\latex latex
|
||||
|
||||
\backslash
|
||||
url{http://www.phpgroupware.org/downloads.php}
|
||||
\latex default
|
||||
).
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Installing from CVS
|
||||
\layout Standard
|
||||
|
||||
Installing from a CVS is fairly easy.
|
||||
The files should be checked out in the webserver directory.
|
||||
Example steps (please adjust to your servers config):
|
||||
\layout Standard
|
||||
|
||||
cd /home/httpd/html
|
||||
\layout Standard
|
||||
|
||||
cvs -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware
|
||||
login (just hit enter if prompted for a password)
|
||||
\layout Standard
|
||||
|
||||
cvs -z3 -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware
|
||||
co phpgroupware
|
||||
\layout Standard
|
||||
|
||||
or if you prefer using CVSROOT:
|
||||
\layout Standard
|
||||
|
||||
export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgro
|
||||
upware'
|
||||
\layout Standard
|
||||
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
\layout Standard
|
||||
|
||||
cvs co phpgroupware
|
||||
\layout Standard
|
||||
|
||||
You may have to get required permissions to do this.
|
||||
Contact your system administrator if you dont have the permission to write
|
||||
to your webserver directory.
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Setting File Permissions
|
||||
\layout Standard
|
||||
|
||||
There are a few directories which will need special fie permissions set
|
||||
for phpGroupWare to work properly.
|
||||
\layout Standard
|
||||
|
||||
Temp Directory (Required) - This can be /tmp for simplicity, but it is required
|
||||
for several apps to function properly.
|
||||
Simply make sure that the webserver can add/delete files in it.
|
||||
\layout Standard
|
||||
|
||||
Files Directory (Required) - This can be should be the files dir under the
|
||||
phpgroupware dir.
|
||||
You will need to give the webserver account owndership of this directory.
|
||||
\layout Standard
|
||||
|
||||
chown nobody:nobody
|
||||
\layout Standard
|
||||
|
||||
chmod 700 /home/httpd/html/phpgroupware/files
|
||||
\layout Standard
|
||||
|
||||
Root Directory (Not recommended) - If you give the webserver account write
|
||||
access to the phpgroupware directory, then the setup program can create
|
||||
the header.inc.php for you.
|
||||
Otherwise you will need to use the setup program to create it, and then
|
||||
you can manually save it to file.
|
||||
\layout Standard
|
||||
|
||||
If you want to do it:
|
||||
\layout Standard
|
||||
|
||||
chown :nobody /home/httpd/html/phpgroupware
|
||||
\layout Standard
|
||||
|
||||
chmod 770
|
||||
\layout Standard
|
||||
|
||||
You may have to get required permissions to do this.
|
||||
Contact your system administrator if you dont have the permission to write
|
||||
to your webserver directory.
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Setup the database
|
||||
\layout Subsubsection
|
||||
|
||||
Mysql (assuming an existing and working Mysql install)
|
||||
\layout Itemize
|
||||
|
||||
Mandrake or Redhat: /etc/rc.d/init.d/mysqld start
|
||||
\layout Itemize
|
||||
|
||||
other: /usr/local/mysql/bin/safe_mysqld &
|
||||
\layout Itemize
|
||||
|
||||
create the empty database: mysqldadmin -u someuser create phpgroupware -p
|
||||
\layout Itemize
|
||||
|
||||
login to mysql: mysql -u someuser -p
|
||||
\layout Itemize
|
||||
|
||||
issue the following at the mysql prompt:
|
||||
\layout Itemize
|
||||
|
||||
grant all on phpgroupware.* to phpgroupware@localhost identified by
|
||||
\begin_inset Quotes eld
|
||||
\end_inset
|
||||
|
||||
somepassword
|
||||
\begin_inset Quotes erd
|
||||
\end_inset
|
||||
|
||||
;
|
||||
\layout Standard
|
||||
|
||||
For more detailed user documentation on Mysql see their website :
|
||||
\begin_inset LatexCommand \htmlurl{http://www.mysql.com}
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\layout Subsubsection
|
||||
|
||||
Postgresql (assuming an existing and working Postgresql install)
|
||||
\layout Standard
|
||||
|
||||
To create the required database in Postgresql make sure postgresql is started:
|
||||
\layout Itemize
|
||||
|
||||
Mandrake or Redhat : /etc/rc.d/init.d/postgresql start
|
||||
\layout Itemize
|
||||
|
||||
others: pg_ctl -D /path/to/database/dir -p /path/to/postmaster start
|
||||
\layout Itemize
|
||||
|
||||
create the empty database: createdb phpgroupware
|
||||
\layout Standard
|
||||
|
||||
For more detailed user documentation on Postgresql see their website :
|
||||
\begin_inset LatexCommand \htmlurl{http://www.postgresql.org}
|
||||
|
||||
\end_inset
|
||||
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Setup / Configure phpGroupWare
|
||||
\layout Standard
|
||||
|
||||
Point your browser to phpgroupware/setup/ which will create (or upgrade)
|
||||
the header.inc.php and database tables.
|
||||
Setup will attempt to determine what version of the phpGroupWare databases
|
||||
and header.inc.php you have installed, and upgrade to the most recent version.
|
||||
|
||||
\layout Standard
|
||||
|
||||
|
||||
\series bold
|
||||
Note:
|
||||
\series default
|
||||
You are advised to backup your existing alpha database before running the
|
||||
setup script to avoid problems!
|
||||
\layout Subsection
|
||||
|
||||
Testing the install
|
||||
\layout Standard
|
||||
|
||||
If your config is setup properly you can now login.
|
||||
Point your browser to the installed location and login with the username
|
||||
demo and the password is 1234
|
||||
\layout Standard
|
||||
|
||||
At this point it would be a good idea to create a new user with administrative
|
||||
privileges and delete the old one.
|
||||
|
||||
\layout Subsection
|
||||
|
||||
Installing additional applications
|
||||
\layout Standard
|
||||
|
||||
Once you have the core phpGroupWare install up and running, you may want
|
||||
to download and install additional applications.
|
||||
\layout Standard
|
||||
|
||||
You should consult any README or INSTALL files that come with the new applicatio
|
||||
n first, as most require you to create additional tables in the database,
|
||||
and add additional translation data to the lang table (typically a file
|
||||
called lang.sql)
|
||||
\layout Standard
|
||||
|
||||
You install the new application within the phpGroupWare install tree by
|
||||
copying the application directory into the phpGroupWare install location,
|
||||
and enabling the application through the Administration page.
|
||||
\layout Standard
|
||||
|
||||
For example, this is the process to install the Headlines application:
|
||||
\layout Standard
|
||||
|
||||
(see
|
||||
\begin_inset LatexCommand \htmlurl{http://www.sourceforge.net/projects/phpgwapps}
|
||||
|
||||
\end_inset
|
||||
|
||||
for more applications)
|
||||
\layout Standard
|
||||
|
||||
Download the .tar.gz file for the application, or check out the source with
|
||||
cvs with
|
||||
\layout Standard
|
||||
|
||||
export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgwa
|
||||
pps'
|
||||
\layout Standard
|
||||
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
\layout Standard
|
||||
|
||||
cvs co headlines
|
||||
\layout Standard
|
||||
|
||||
Move the headlines directory into your phpGroupWare install directory.
|
||||
\layout Standard
|
||||
|
||||
Log into phpGroupWare as an administrative user, and go to the Administration
|
||||
page.
|
||||
\layout Standard
|
||||
|
||||
In the first section, choose the Applications link.
|
||||
\layout Standard
|
||||
|
||||
Click on add, and fill in the form.
|
||||
\layout Standard
|
||||
|
||||
Application name should be identical to the name of the directory you moved
|
||||
into the phpGroupWare install, in this case use headlines
|
||||
\layout Standard
|
||||
|
||||
Application Title is shown in the navigation bar and other places to refer
|
||||
to the new application.
|
||||
Enter Headlines for this example.
|
||||
\layout Standard
|
||||
|
||||
Enabled can be used to disable an application for all users temporially.
|
||||
You should normal check the box to enable the application.
|
||||
\layout Standard
|
||||
|
||||
Back in the Administration page, you need to enable the application for
|
||||
specific users or user groups by editing them, and checking the new Headlines
|
||||
box that appears in the middle of the account editing page.
|
||||
\layout Standard
|
||||
|
||||
Once you have added the Headlines app to your account, you should see a
|
||||
Headlines entry in the Administration and Preferences pages, and there
|
||||
should be an icon for the Headlines application in the navigation bar.
|
||||
\layout Standard
|
||||
|
||||
Once you enable a few of the Headlines sites through the Administration
|
||||
page link, you should see headlines grabbed from the sites you selected
|
||||
when you click on the Headlines icon in the navigation bar.
|
||||
|
||||
\layout Section
|
||||
|
||||
Trouble Shooting
|
||||
\layout Standard
|
||||
|
||||
|
||||
\series bold
|
||||
Warning
|
||||
\layout Standard
|
||||
|
||||
phpGroupWare is still Beta software, expect some bugs along the way.
|
||||
If you run into a problem not discussed here, contact us through one of
|
||||
the methods listed on the website.
|
||||
\layout Standard
|
||||
|
||||
The phpGroupWare developers can most often be seen hanging out in
|
||||
\emph on
|
||||
#phpGroupWare
|
||||
\emph default
|
||||
on
|
||||
\emph on
|
||||
irc.openprojects.net
|
||||
\emph default
|
||||
if you require real-time help.
|
||||
\layout Standard
|
||||
|
||||
Also check the FAQ in this directory for additional common questions, it
|
||||
is available as FAQ.sgml, FAQ.txt and FAQ.html
|
||||
\layout Subsection
|
||||
|
||||
It seems to hang when I try to read my mail
|
||||
\layout Standard
|
||||
|
||||
This is often a problem if you are using POP3 instead of IMAP, and you have
|
||||
more than a few hundred messages in your mailbox.
|
||||
\layout Standard
|
||||
|
||||
By default, php is set up to time-out a request that takes over 30 seconds
|
||||
to complete.
|
||||
phpGroupWare must do a lot of work the first time your POP3 mailbox is
|
||||
opened, and every time you get new mail, which may take more than the 30
|
||||
second timeout.
|
||||
\layout Standard
|
||||
|
||||
You can either clean up your mailbox with another mail program, or add the
|
||||
line
|
||||
\layout Standard
|
||||
|
||||
set_time_limit(0);
|
||||
\layout Standard
|
||||
|
||||
to the top of the phpgwapi/inc/phpgw_msg_pop3.inc.php file, just before the
|
||||
line class msg extends msg_common
|
||||
\layout Standard
|
||||
|
||||
If you choose to edit the file, be patient when loading a large POP3 mailbox
|
||||
- the author tested against a mailbox with 2500 messages in it, but it
|
||||
took 15 minutes to load the page.
|
||||
We highly suggest you use IMAP if you expect to have more than a few hundred
|
||||
messages in your mailbox.
|
||||
|
||||
\layout Subsection
|
||||
|
||||
When I log in I see the directory listing instead of a web page
|
||||
\layout Standard
|
||||
|
||||
You are using Apache, this often means you need to add .php to the DirectoryIndex
|
||||
line in your httpd.conf file.
|
||||
For example:
|
||||
\layout Standard
|
||||
|
||||
DirectoryIndex index.php index.php3 index.html index.htm index.cgi
|
||||
\layout Subsection
|
||||
|
||||
I get garbage that looks like code when I go to the phpGroupWare URL
|
||||
\layout Standard
|
||||
|
||||
This is often because you have php3 installed, which does not map .php to
|
||||
the PHP engine.
|
||||
For PHP3:
|
||||
\layout Standard
|
||||
|
||||
AddType application/x-httpd-php3 .php3 .php
|
||||
\layout Standard
|
||||
|
||||
For PHP4:
|
||||
\layout Standard
|
||||
|
||||
AddType application/x-httpd-php .php3 .php
|
||||
\layout Section
|
||||
|
||||
About this document
|
||||
\layout Standard
|
||||
|
||||
The newest version of this document can be found on our website
|
||||
\begin_inset LatexCommand \htmlurl{http://www.phpgroupware.org}
|
||||
|
||||
\end_inset
|
||||
|
||||
as lyx source, HTML, or TEXT.
|
||||
\layout Standard
|
||||
|
||||
Comments on this HOWTO should be directed to the phpGroupWare developers
|
||||
mailing list
|
||||
\emph on
|
||||
phpgroupware-developers@lists.sourceforge.net
|
||||
\emph default
|
||||
|
||||
\layout Standard
|
||||
|
||||
To subscribe, go to
|
||||
\emph on
|
||||
\latex latex
|
||||
|
||||
\backslash
|
||||
url{http://sourceforge.net/mail/?group}
|
||||
\latex default
|
||||
_id=7305
|
||||
\emph default
|
||||
|
||||
\layout Subsection
|
||||
|
||||
History
|
||||
\layout Standard
|
||||
|
||||
This document was started by Joseph Engo reworked by Dan Kuykendall then
|
||||
hacked again by Darryl VanDorp
|
||||
\layout Subsection
|
||||
|
||||
Version History
|
||||
\layout Standard
|
||||
|
||||
Old Version
|
||||
\layout Standard
|
||||
|
||||
Created by Jengo, wasn't in SGML HOWTO format.
|
||||
\layout Standard
|
||||
|
||||
v1.0 (July 6, 2000)
|
||||
\layout Standard
|
||||
|
||||
Built proper SGML version.
|
||||
\layout Standard
|
||||
|
||||
Included the FAQ.
|
||||
\layout Standard
|
||||
|
||||
Other minor additions.
|
||||
\layout Standard
|
||||
|
||||
v1.1 (September 27-29, 2000) - blinky
|
||||
\layout Standard
|
||||
|
||||
Added Testing Install section
|
||||
\layout Standard
|
||||
|
||||
Added Trouble-shooting section
|
||||
\layout Standard
|
||||
|
||||
Added description of application installation
|
||||
\layout Standard
|
||||
|
||||
Changes for the new setup program
|
||||
\layout Standard
|
||||
|
||||
v0.01 (October 15 , 2000) - gnrfan , Converted the HOWTO to DocBook format
|
||||
\layout Standard
|
||||
|
||||
v.0.05 (November 5, 2000) - gnrfan , Completely revamped according to Seek's
|
||||
idea and intregrated the Developers HOWTO.
|
||||
\layout Standard
|
||||
|
||||
v.0.06 (Jan 10, 2001) - Darryl VanDorp, imported to lyx source reformatted
|
||||
and touched up some sections
|
||||
\the_end
|
BIN
doc/index.pdf
Normal file
BIN
doc/index.pdf
Normal file
Binary file not shown.
593
doc/index.txt
593
doc/index.txt
@ -1,334 +1,391 @@
|
||||
|
||||
phpGroupWare Docs V0.05
|
||||
phpGroupWare Docs V0.06
|
||||
|
||||
Joseph Engo
|
||||
|
||||
Dan Kuykendall
|
||||
|
||||
$Id$
|
||||
|
||||
phpGroupWare Docs V0.05
|
||||
by Joseph Engo and Dan Kuykendall
|
||||
Dedication
|
||||
|
||||
Dedication
|
||||
Thanks to Joesph Engo for starting phpGroupWare (at the time called webdistro) and the core of this HOWTO. Thanks to all the developers and users who contribute to making phpGroupWare such a success.
|
||||
Thanks to Joesph Engo for starting phpGroupWare (at the time
|
||||
called webdistro) and the core of this HOWTO. Thanks to
|
||||
all the developers and users who contribute to making phpGroupWare
|
||||
such a success.
|
||||
|
||||
Table of Contents
|
||||
I. Introduction 000
|
||||
1. What is phpGroupWare 000
|
||||
2. Why you should use it 000
|
||||
II. Installation 000
|
||||
3. Requirements 000
|
||||
3.1. Tested Systems 000
|
||||
4. Obtaining and Installing phpGroupWare 000
|
||||
4.1. Installing from TarBall 000
|
||||
4.2. Installing from CVS 000
|
||||
4.3. Setting File Permissions 000
|
||||
4.4. Setup / Configure phpGroupWare 000
|
||||
4.5. Testing the install 000
|
||||
4.6. Installing additional applications 000
|
||||
5. Trouble Shooting 000
|
||||
5.1. I get "Unable to open mailbox" when using the email application 000
|
||||
5.2. It seems to hang when I try to read my mail 000
|
||||
5.3. When I log in I see the directory listing instead of a web page 000
|
||||
5.4. I get garbage that looks like code when I go to the phpGroupWare URL 000
|
||||
VII. About 000
|
||||
6. History of this document 000
|
||||
6.1. History 000
|
||||
6.2. Version History 000
|
||||
1 What is phpGroupWare
|
||||
|
||||
phpGroupWare is a web based GroupWare system. It comes with
|
||||
serveral core apps for email, calendar, todo list, address
|
||||
book, file manager, and a notepad.
|
||||
|
||||
I. Introduction
|
||||
Table of Contents
|
||||
1. What is phpGroupWare 000
|
||||
2. Why you should use it 000
|
||||
If you wondering what phpGroupWare is, why you should use it, and how to do so. Then read on.
|
||||
It also provides a framework for add-on applications to integrate
|
||||
seamlessly in phpGroupWare. Some samples are a bookmark
|
||||
manager, a trouble ticket system, a weather reporter, a
|
||||
phone log, a chat program, and a forum system. There are
|
||||
many more in development, and you can develop your own as
|
||||
well.
|
||||
|
||||
Chapter 1. What is phpGroupWare
|
||||
phpGroupWare is a web based GroupWare system. It comes with serveral core apps for email, calendar, todo list, address book, file manager, and a notepad.
|
||||
It also provides a framework for add-on applications to integrate seamlessly in phpGroupWare. Some samples are a bookmark manager, a trouble ticket system, a weather reporter, a phone log, a chat program, and a forum system. There are many more in development, and you can develop your own as well.
|
||||
2 Why you should use it
|
||||
|
||||
Chapter 2. Why you should use it
|
||||
You should use it if you would like a powerful groupware system that can be access from anywhere on the Internet, and allows for custom add-ons. For companies with a distributed user base, it's an ideal solution. Oh, and did I mention that its FREE?
|
||||
You should use it if you would like a powerful groupware
|
||||
system that can be access from anywhere on the Internet,
|
||||
and allows for custom add-ons. For companies with a distributed
|
||||
user base, it's an ideal solution. Oh, and did I mention
|
||||
that its FREE?
|
||||
|
||||
3 Installation
|
||||
|
||||
II. Installation
|
||||
Table of Contents
|
||||
3. Requirements 000
|
||||
4. Obtaining and Installing phpGroupWare 000
|
||||
5. Trouble Shooting 000
|
||||
Installation and Configuration of phpGroupWare has never been easier. Just point and click, yeah its very easy :-).
|
||||
Since this is still a beta version we do expect some bugs. By carefully reading this document you can easly install phpGroupWare.
|
||||
Installation and Configuration of phpGroupWare has never
|
||||
been easier. Just point and click, yeah it's very easy.
|
||||
|
||||
Chapter 3. Requirements
|
||||
You will need PHP compiled and installed on your system. You will also need MySQL or PostgreSQL setup. If you are planning on using the email system, you will need to have an IMAP server installed and IMAP support compiled into PHP. You can have it installed as an Apache module or command line version, the Apache module is preferred. We will assume that you are running on a Linux or other Unix system for these steps. Windows is supported, but there is no documentation for it currently.
|
||||
3.1. Tested Systems
|
||||
On Linux 2.2.x
|
||||
• PHP 3.0.15+ / PHP 4.0.x
|
||||
• Apache 1.3.x
|
||||
• MySQL 3.22.25 or PostgreSQL 7.0.x
|
||||
• Courier-IMAP 0.33+ and/or qmail 1.03 for POP3 access
|
||||
We have reports of it working on Windows NT and OS/2, and using Oracle as the database.
|
||||
Since this is still a beta version we do expect some bugs.
|
||||
By carefully reading this document you can easly install
|
||||
phpGroupWare.
|
||||
|
||||
3.1 Requirements
|
||||
|
||||
You will need PHP compiled and installed on your system.
|
||||
You will also need MySQL or PostgreSQL setup. If you are
|
||||
planning on using the email system, you will need to have
|
||||
an IMAP server installed and IMAP support compiled into
|
||||
PHP. You can have it installed as an Apache module or command
|
||||
line version, the Apache module is preferred. We will assume
|
||||
that you are running on a Linux or other Unix system for
|
||||
these steps. Windows is supported, but there is no documentation
|
||||
for it currently.
|
||||
|
||||
3.2 Tested Systems
|
||||
|
||||
On Linux 2.2.x, 2.4.x
|
||||
|
||||
PHP 3.0.15+ / PHP 4.0.x
|
||||
|
||||
Apache 1.3.x
|
||||
|
||||
MySQL 3.22.25 or PostgreSQL 7.0.x
|
||||
|
||||
Courier-IMAP 0.33+ and/or qmail 1.03 for POP3 access
|
||||
|
||||
We have reports of it working on Windows NT and OS/2, and
|
||||
using Oracle as the database.
|
||||
|
||||
4 Obtaining and Installing phpGroupWare
|
||||
|
||||
After you have met the system requirements, You can install
|
||||
it from the TarBall or you can get it directly from CVS.
|
||||
|
||||
4.1 Installing from TarBall
|
||||
|
||||
Installing from a TarBall is very easy. The files should
|
||||
be installed in the webserver directory. Example steps (please
|
||||
adjust to your servers config):
|
||||
|
||||
Chapter 4. Obtaining and Installing phpGroupWare
|
||||
After you have met the system requirements, You can install it from the TarBall or you can get it directly from CVS.
|
||||
4.1. Installing from TarBall
|
||||
Installing from a TarBall is very easy. The files should be installed in the webserver directory. Example steps (please adjust to your servers config):
|
||||
cp phpgroupware-version.tar.gz /home/httpd/html
|
||||
|
||||
cd /home/httpd/html
|
||||
|
||||
tar zxf phpgroupware-version.tar.gz
|
||||
|
||||
You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory.
|
||||
You can get current releases of phpGroupWare at the phpGroupware website (http://www.phpgroupware.org/downloads.php).
|
||||
4.2. Installing from CVS
|
||||
Installing from a CVS is fairly easy. The files should be checked out in the webserver directory. Example steps (please adjust to your servers config):
|
||||
You may have to get required permissions to do this. Contact
|
||||
your system administrator if you dont have the permission
|
||||
to write to your webserver directory.
|
||||
|
||||
You can get current releases of phpGroupWare at the phpGroupware
|
||||
website ().
|
||||
|
||||
4.2 Installing from CVS
|
||||
|
||||
Installing from a CVS is fairly easy. The files should be
|
||||
checked out in the webserver directory. Example steps (please
|
||||
adjust to your servers config):
|
||||
|
||||
cd /home/httpd/html
|
||||
cvs -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware login (just hit enter if prompted for a password)
|
||||
cvs -z3 -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware co phpgroupware
|
||||
|
||||
or if you prefer using CVSROOT:
|
||||
cvs -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware
|
||||
login (just hit enter if prompted for a password)
|
||||
|
||||
cvs -z3 -d:pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware
|
||||
co phpgroupware
|
||||
|
||||
or if you prefer using CVSROOT:
|
||||
|
||||
export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgroupware'
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
cvs co headlines
|
||||
|
||||
You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory.
|
||||
4.3. Setting File Permissions
|
||||
There are a few directories which will need special fie permissions set for phpGroupWare to work properly.
|
||||
Temp Directory (Required) - This can be /tmp for simplicity, but it is required for several apps to function properly. Simply make sure that the webserver can add/delete files in it.
|
||||
Files Directory (Required) - This can be should be the files dir under the phpgroupware dir. You will need to give the webserver account owndership of this directory.
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
|
||||
cvs co phpgroupware
|
||||
|
||||
You may have to get required permissions to do this. Contact
|
||||
your system administrator if you dont have the permission
|
||||
to write to your webserver directory.
|
||||
|
||||
4.3 Setting File Permissions
|
||||
|
||||
There are a few directories which will need special fie permissions
|
||||
set for phpGroupWare to work properly.
|
||||
|
||||
Temp Directory (Required) - This can be /tmp for simplicity,
|
||||
but it is required for several apps to function properly.
|
||||
Simply make sure that the webserver can add/delete files
|
||||
in it.
|
||||
|
||||
Files Directory (Required) - This can be should be the files
|
||||
dir under the phpgroupware dir. You will need to give the
|
||||
webserver account owndership of this directory.
|
||||
|
||||
chown nobody:nobody
|
||||
|
||||
chmod 700 /home/httpd/html/phpgroupware/files
|
||||
|
||||
Root Directory (Not recommended) - If you give the webserver
|
||||
account write access to the phpgroupware directory, then
|
||||
the setup program can create the header.inc.php for you.
|
||||
Otherwise you will need to use the setup program to create
|
||||
it, and then you can manually save it to file.
|
||||
|
||||
Root Directory (Not recommended) - If you give the webserver account write access to the phpgroupware directory, then the setup program can create the header.inc.php for you. Otherwise you will need to use the setup program to create it, and then you can manually save it to file.
|
||||
If you want to do it:
|
||||
|
||||
chown :nobody /home/httpd/html/phpgroupware
|
||||
|
||||
chmod 770
|
||||
|
||||
You may have to get required permissions to do this. Contact
|
||||
your system administrator if you dont have the permission
|
||||
to write to your webserver directory.
|
||||
|
||||
You may have to get required permissions to do this. Contact your system administrator if you dont have the permission to write to your webserver directory.
|
||||
4.4. Setup / Configure phpGroupWare
|
||||
Point your browser to phpgroupware/setup/ which will create (or upgrade) the header.inc.php and database tables. Setup will attempt to determine what version of the phpGroupWare databases and header.inc.php you have installed, and upgrade to the most recent version.
|
||||
Note: You are advised to backup your existing alpha database before running the setup script to avoid problems!
|
||||
4.5. Testing the install
|
||||
If your config is setup properly you can now login. Point your browser to the installed location and login with the username demo and the password is 1234
|
||||
At this point it would be a good idea to create a new user with administrative privileges and delete the old one.
|
||||
4.6. Installing additional applications
|
||||
Once you have the core phpGroupWare install up and running, you may want to download and install additional applications.
|
||||
You should consult any README or INSTALL files that come with the new application first, as most require you to create additional tables in the database, and add additional translation data to the lang table (typically a file called lang.sql)
|
||||
You install the new application within the phpGroupWare install tree by copying the application directory into the phpGroupWare install location, and enabling the application through the Administration page.
|
||||
For example, this is the process to install the Headlines application (see http://sourceforge.net/phpgwapps/ (http://sourceforge.net/phpgwapps/) for more on this and other applications).
|
||||
• Download the .tar.gz file for the application, or check out the source with cvs with
|
||||
export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgwapps'
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
cvs co headlines
|
||||
4.4 Setup the database
|
||||
|
||||
• Move the headlines directory into your phpGroupWare install directory.
|
||||
• Log into phpGroupWare as an administrative user, and go to the Administration page.
|
||||
• In the first section, choose the Applications link.
|
||||
• Click on add, and fill in the form.
|
||||
Application name should be identical to the name of the directory you moved into the phpGroupWare install, in this case use headlines
|
||||
Application Title is shown in the navigation bar and other places to refer to the new application. Enter Headlines for this example.
|
||||
Enabled can be used to disable an application for all users temporially. You should normal check the box to enable the application.
|
||||
• Back in the Administration page, you need to enable the application for specific users or user groups by editing them, and checking the new Headlines box that appears in the middle of the account editing page.
|
||||
• Once you have added the Headlines app to your account, you should see a Headlines entry in the Administration and Preferences pages, and there should be an icon for the Headlines application in the navigation bar.
|
||||
• Once you enable a few of the Headlines sites through the Administration page link, you should see headlines grabbed from the sites you selected when you click on the Headlines icon in the navigation bar.
|
||||
4.4.1 Mysql (assuming an existing and working Mysql install)
|
||||
|
||||
* Mandrake or Redhat: /etc/rc.d/init.d/mysqld start
|
||||
|
||||
* other: /usr/local/mysql/bin/safe_mysqld &
|
||||
|
||||
* create the empty database: mysqldadmin -u someuser create
|
||||
phpgroupware -p
|
||||
|
||||
* login to mysql: mysql -u someuser -p
|
||||
|
||||
* issue the following at the mysql prompt:
|
||||
|
||||
* grant all on phpgroupware.* to phpgroupware@localhost identified
|
||||
by "somepassword";
|
||||
|
||||
For more detailed user documentation on Mysql see their website
|
||||
: [http://www.mysql.com]
|
||||
|
||||
4.4.2 Postgresql (assuming an existing and working Postgresql
|
||||
install)
|
||||
|
||||
To create the required database in Postgresql make sure postgresql
|
||||
is started:
|
||||
|
||||
* Mandrake or Redhat : /etc/rc.d/init.d/postgresql start
|
||||
|
||||
* others: pg_ctl -D /path/to/database/dir -p /path/to/postmaster
|
||||
start
|
||||
|
||||
* create the empty database: createdb phpgroupware
|
||||
|
||||
For more detailed user documentation on Postgresql see their
|
||||
website : [http://www.postgresql.org]
|
||||
|
||||
4.5 Setup / Configure phpGroupWare
|
||||
|
||||
Point your browser to phpgroupware/setup/ which will create
|
||||
(or upgrade) the header.inc.php and database tables. Setup
|
||||
will attempt to determine what version of the phpGroupWare
|
||||
databases and header.inc.php you have installed, and upgrade
|
||||
to the most recent version.
|
||||
|
||||
Note: You are advised to backup your existing alpha database
|
||||
before running the setup script to avoid problems!
|
||||
|
||||
4.6 Testing the install
|
||||
|
||||
If your config is setup properly you can now login. Point
|
||||
your browser to the installed location and login with the
|
||||
username demo and the password is 1234
|
||||
|
||||
At this point it would be a good idea to create a new user
|
||||
with administrative privileges and delete the old one.
|
||||
|
||||
4.7 Installing additional applications
|
||||
|
||||
Once you have the core phpGroupWare install up and running,
|
||||
you may want to download and install additional applications.
|
||||
|
||||
You should consult any README or INSTALL files that come
|
||||
with the new application first, as most require you to create
|
||||
additional tables in the database, and add additional translation
|
||||
data to the lang table (typically a file called lang.sql)
|
||||
|
||||
You install the new application within the phpGroupWare install
|
||||
tree by copying the application directory into the phpGroupWare
|
||||
install location, and enabling the application through the
|
||||
Administration page.
|
||||
|
||||
For example, this is the process to install the Headlines
|
||||
application:
|
||||
|
||||
(see [http://www.sourceforge.net/projects/phpgwapps]
|
||||
for more applications)
|
||||
|
||||
Download the .tar.gz file for the application, or check out
|
||||
the source with cvs with
|
||||
|
||||
export CVSROOT=':pserver:anonymous@cvs.phpgroupware.sourceforge.net:/cvsroot/phpgwapps'
|
||||
|
||||
cvs login (just hit enter if prompted for a password)
|
||||
|
||||
cvs co headlines
|
||||
|
||||
Move the headlines directory into your phpGroupWare install
|
||||
directory.
|
||||
|
||||
Log into phpGroupWare as an administrative user, and go to
|
||||
the Administration page.
|
||||
|
||||
In the first section, choose the Applications link.
|
||||
|
||||
Click on add, and fill in the form.
|
||||
|
||||
Application name should be identical to the name of the directory
|
||||
you moved into the phpGroupWare install, in this case use
|
||||
headlines
|
||||
|
||||
Application Title is shown in the navigation bar and other
|
||||
places to refer to the new application. Enter Headlines
|
||||
for this example.
|
||||
|
||||
Enabled can be used to disable an application for all users
|
||||
temporially. You should normal check the box to enable the
|
||||
application.
|
||||
|
||||
Back in the Administration page, you need to enable the application
|
||||
for specific users or user groups by editing them, and checking
|
||||
the new Headlines box that appears in the middle of the
|
||||
account editing page.
|
||||
|
||||
Once you have added the Headlines app to your account, you
|
||||
should see a Headlines entry in the Administration and Preferences
|
||||
pages, and there should be an icon for the Headlines application
|
||||
in the navigation bar.
|
||||
|
||||
Once you enable a few of the Headlines sites through the
|
||||
Administration page link, you should see headlines grabbed
|
||||
from the sites you selected when you click on the Headlines
|
||||
icon in the navigation bar.
|
||||
|
||||
5 Trouble Shooting
|
||||
|
||||
Chapter 5. Trouble Shooting
|
||||
Warning
|
||||
phpGroupWare is still Beta software, expect some bugs along the way. If you run into a problem not discussed here, contact us through one of the methods listed on the website.
|
||||
|
||||
phpGroupWare is still Beta software, expect some bugs along
|
||||
the way. If you run into a problem not discussed here, contact
|
||||
us through one of the methods listed on the website.
|
||||
|
||||
The phpGroupWare developers can most often be seen hanging
|
||||
out in #phpGroupWare on irc.openprojects.net if you require
|
||||
real-time help.
|
||||
|
||||
Also check the FAQ in this directory for additional common
|
||||
questions, it is available as FAQ.sgml, FAQ.txt and FAQ.html
|
||||
|
||||
5.1 It seems to hang when I try to read my mail
|
||||
|
||||
This is often a problem if you are using POP3 instead of
|
||||
IMAP, and you have more than a few hundred messages in your
|
||||
mailbox.
|
||||
|
||||
By default, php is set up to time-out a request that takes
|
||||
over 30 seconds to complete. phpGroupWare must do a lot
|
||||
of work the first time your POP3 mailbox is opened, and
|
||||
every time you get new mail, which may take more than the
|
||||
30 second timeout.
|
||||
|
||||
You can either clean up your mailbox with another mail program,
|
||||
or add the line
|
||||
|
||||
The phpGroupWare developers can most often be seen hanging out in #phpGroupWare on irc.openprojects.net if you require real-time help.
|
||||
Also check the FAQ in this directory for additional common questions, it is available as FAQ.sgml, FAQ.txt and FAQ.html
|
||||
5.1. I get "Unable to open mailbox" when using the email application
|
||||
At the time of this writing (2000-09-27) you must use the same username and password in phpGroupWare that you use to log into your mail server. If you change your password and it still isn't working, try logging out of phpGroupWare (the rightmost icon in the navigation bar) and then log back in.
|
||||
An preference page to edit the email settings is being developed, and should appear shortly after the first beta release.
|
||||
5.2. It seems to hang when I try to read my mail
|
||||
This is often a problem if you are using POP3 instead of IMAP, and you have more than a few hundred messages in your mailbox.
|
||||
By default, php is set up to time-out a request that takes over 30 seconds to complete. phpGroupWare must do a lot of work the first time your POP3 mailbox is opened, and every time you get new mail, which may take more than the 30 second timeout.
|
||||
You can either clean up your mailbox with another mail program, or add the line
|
||||
set_time_limit(0);
|
||||
|
||||
to the top of the phpgwapi/inc/phpgw_msg_pop3.inc.php file, just before the line class msg extends msg_common
|
||||
If you choose to edit the file, be patient when loading a large POP3 mailbox - the author tested against a mailbox with 2500 messages in it, but it took 15 minutes to load the page. We highly suggest you use IMAP if you expect to have more than a few hundred messages in your mailbox.
|
||||
5.3. When I log in I see the directory listing instead of a web page
|
||||
You are using Apache, this often means you need to add .php to the DirectoryIndex line in your httpd.conf file. For example:
|
||||
DirectoryIndex index.php index.php3 index.html index.htm index.cgi
|
||||
to the top of the phpgwapi/inc/phpgw_msg_pop3.inc.php file,
|
||||
just before the line class msg extends msg_common
|
||||
|
||||
If you choose to edit the file, be patient when loading a
|
||||
large POP3 mailbox - the author tested against a mailbox
|
||||
with 2500 messages in it, but it took 15 minutes to load
|
||||
the page. We highly suggest you use IMAP if you expect to
|
||||
have more than a few hundred messages in your mailbox.
|
||||
|
||||
5.4. I get garbage that looks like code when I go to the phpGroupWare URL
|
||||
This is often because you have php3 installed, which does not map .php to the PHP engine. For PHP3:
|
||||
AddType application/x-httpd-php3 .php3 .php
|
||||
5.2 When I log in I see the directory listing instead of a
|
||||
web page
|
||||
|
||||
You are using Apache, this often means you need to add .php
|
||||
to the DirectoryIndex line in your httpd.conf file. For
|
||||
example:
|
||||
|
||||
DirectoryIndex index.php index.php3 index.html index.htm
|
||||
index.cgi
|
||||
|
||||
5.3 I get garbage that looks like code when I go to the phpGroupWare
|
||||
URL
|
||||
|
||||
This is often because you have php3 installed, which does
|
||||
not map .php to the PHP engine. For PHP3:
|
||||
|
||||
AddType application/x-httpd-php3 .php3 .php
|
||||
|
||||
For PHP4:
|
||||
AddType application/x-httpd-php .php3 .php
|
||||
|
||||
AddType application/x-httpd-php .php3 .php
|
||||
|
||||
6 About this document
|
||||
|
||||
The newest version of this document can be found on our website
|
||||
[http://www.phpgroupware.org] as lyx source, HTML, or TEXT.
|
||||
|
||||
VII. About
|
||||
Table of Contents
|
||||
6. History of this document 000
|
||||
The newest version of this document can be found on our website www.phpgroupware.org (http://www.phpgroupware.org) as SGML source, HTML, or TEXT.
|
||||
Comments on this HOWTO should be directed to the phpGroupWare developers mailing list phpgroupware-developers@lists.sourceforge.net (mailto:phpgroupware-developers@lists.sourceforge.net)
|
||||
To subscribe, go to http://sourceforge.net/mail/?group_id=7305 (http://sourceforge.net/mail/?group_id=7305)
|
||||
Comments on this HOWTO should be directed to the phpGroupWare
|
||||
developers mailing list phpgroupware-developers@lists.sourceforge.net
|
||||
|
||||
Chapter 6. History of this document
|
||||
6.1. History
|
||||
This document was started by Joseph Engo and reworked by Dan Kuykendall.
|
||||
6.2. Version History
|
||||
Old Version
|
||||
• Created by Jengo, wasn't in SGML HOWTO format.
|
||||
To subscribe, go to _id=7305
|
||||
|
||||
v1.0 (July 6, 2000)
|
||||
6.1 History
|
||||
|
||||
• Built proper SGML version.
|
||||
• Included the FAQ.
|
||||
• Other minor additions.
|
||||
This document was started by Joseph Engo reworked by Dan
|
||||
Kuykendall then hacked again by Darryl VanDorp
|
||||
|
||||
v1.1 (September 27-29, 2000) - blinky
|
||||
6.2 Version History
|
||||
|
||||
• Added Testing Install section
|
||||
• Added Trouble-shooting section
|
||||
• Added description of application installation
|
||||
• Changes for the new setup program
|
||||
Old Version
|
||||
|
||||
v0.01 (October 15 , 2000) - gnrfan , Converted the HOWTO to DocBook format
|
||||
v.0.05 (November 5, 2000) - gnrfan , Completely revamped according to Seek's idea and intregrated the Developers HOWTO.
|
||||
v 0.xx (Somewhere in the near future) - gnrfan, Trail map comming up on how to hack and learn about coding phpGroupWare(core) and its apps too :-).
|
||||
Created by Jengo, wasn't in SGML HOWTO format.
|
||||
|
||||
v1.0 (July 6, 2000)
|
||||
|
||||
Built proper SGML version.
|
||||
|
||||
Included the FAQ.
|
||||
|
||||
Other minor additions.
|
||||
|
||||
v1.1 (September 27-29, 2000) - blinky
|
||||
|
||||
Added Testing Install section
|
||||
|
||||
Added Trouble-shooting section
|
||||
|
||||
Added description of application installation
|
||||
|
||||
Changes for the new setup program
|
||||
|
||||
v0.01 (October 15 , 2000) - gnrfan , Converted the HOWTO
|
||||
to DocBook format
|
||||
|
||||
v.0.05 (November 5, 2000) - gnrfan , Completely revamped
|
||||
according to Seek's idea and intregrated the Developers
|
||||
HOWTO.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|