phpGW logo Installation & Security HOWTO
phpGroupWare

Setup and configuration

Now open the setup app in a browser. It is required that you have cookies enabled on your browser to login to setup. Later on you will have the option of not using cookies for your phpgw installation, but the setup process always requires cookies. In my case, since I installed to my home dir, it's http://server/~chris/phpgroupware/setup/. Make sure it says support is enabled for your database. If it's not, then you have not installed/enabled support for your database in your php. Setup will try and guess some good defaults for your setup. You should verify each one, especially the database name and user. If you don't know what an item affects, the default is fine. The "Admin Password" will be used to get back into this header manager, and the "Configuration Password" will be used to get into the other config options and to install applications. After writing your header you are logged out.

Next login to Setup/Config Admin with the password you defined in the Header. This stage of Setup has 4 basic steps, the status of each step can be a little misleading, but more on that later. You should have a message saying "Your database is working, but you don't have any applications installed" and an Install button. If not, then something is wrong with your database or the database user permissions.

Click Install and with any luck you will not get any errors. Errors at this stage will also typically be the fault of the database server in some way. If you need to fix something and try again it's recommended to drop any and all the tables from the database, but not the database itself. Once it's all ok, click the Recheck button. You will be told everything is done, but only defaults are in and not all defaults are good so lets check them.

In Step 2, edit the configuration. Do no yet create the Admin and demo accounts, we'll do that later. These are the options you need to check, the rest are optional or the defaults are fine or recommended.

In Step 3, only English/US translations are installed by default. Select any others you want and choose the "Only add new phrases" option and install.

In Step4 we install the applications. The way phpgw works, all sections such as the calendar and addressbook are separate applications. You can have as many or as few as you want installed and you can choose which users get access to what applications. By default, only the phpgwapi is installed. Some applications have dependencies and cannot be installed until those apps are installed. First we will install the apps that most everything depends on, admin, manual, and preferences. Check their boxes in the Install column and click Submit. Do not check everything at once, this will fail most of the time. You will get a status message for each part of the setup and a link at the bottom to Go Back to the list.

Because this is a basic setup HOWTO we are not going to install all the apps. You can come back into setup later and play with the rest on your own. Lets install addressbook, calendar, email, messenger, notes, phpsysinfo, filemanager, and todo. For a description of what each app is good for, see the list on http://apps.phpgroupware.org/. By now all the apps with dependency problems are ready for installation, but I'm going into them. Click Cancel to go back to the main setup screen.

Now we are ready to create the admin and demo accounts. Click where it says. Give your site admin a username, I'm going to use "admin", and a password. You can create the demo accounts if you want, they can always be deleted later. Submit it and logout of setup.