Project:
conjoon
Code Location:
http://svn.conjoon.org/trunk/trunk
INSTALL.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
+------------------------------------------------------------------------------+ | | | PLEASE NOTE! | | This documentation is not maintained anymore and outdated. For an up-to-date | | installation guide and user documentation, | | please visit | | | | http://conjoon.org/wiki | | | +------------------------------------------------------------------------------+ = Installing conjoon = '''Table of contents''' * 1. Requirements * 2. Installation * 2.1 Manual installation * Folders * Installing the database * Adjusting the configuration file * Adjusting the .htaccess file * php.ini settings * Apache configuration * 2.2 Automatic Installation * Notes regarding updating conjoon 0.1a2 * Notes regarding PHP's safe_mode * Placing the install files to where they belong * Running the wizard * 3. Problems? ---- == Chapter 1. Requirements == In order to install conjoon, you need the following setup: * PHP >= 5.2.5 * Apache >= 2.2.8 * Apache mod_rewrite module * MySQL >= 5.0.51a conjoon was tested successfully using the following browsers: * Internet Explorer 7.0, 8.0 * Mozilla Firefox 3.* * Safari >= 3.1 (Windows) * Google Chrome >= 1.0 Notice: conjoon may work with a different setup, though it's not guaranteed. You can post your experience with different setups in the forums at http://www.conjon.org/forum ---- == Chapter 2. Installation == Since V0.1a3, conjoon gets shipped with an installation wizard that makes installing and updating the application easier. Simply set up your Webserver so you can access the contents of /build/htdocs in your webbrowser and open the /htdocs/install/index.php. For further explanation, go to "2.2 Automatic installation" ---- === Chapter 2.1 Manual installation === ==== Folders ==== When unpacking conjoon, you will find the following directory layout: {{{ + build + build-tools + src + vendor }}} (Note: Depending on the package you've downloaded, only the "build" folder may be available) The folder of interest is the "build" folder: You will find the deployable version of conjoon in there: {{{ + build \ - htdocs \ - install \ - files \ - datastore - conjoon_application - conjoon_libs - js - _configCache }}} The following steps describe the setup of conjoon. '''1. htdocs:''' The htdocs folder holds all the files that should be accessible by your webserver. They can either be in the DocumentRoot of your webserver or in any subfolder of the document root. '''2. conjoon_application''' The conjoon_application folder holds all templates and controllers used by the Zend Framework. It can be put into any location on your server, just make sure it is readable and writable by the webserver. Notice: Though the current version does not contain any sensitive data, the conjoon_application folder should not be made public accessible. '''3. conjoon_libs''' The conjoon_libs folder holds all php libraries needed by conjoon. It can be put into any location on your server, just make sure the php variable "include_path" points to it. You can also configure this using the configuration file of conjoon. '''4. datastore''' This folder contains the files to setup your databse. '''5. js''' This folder holds all js-, css- and other files that are needed to create the user interface. This folder must be put into the document-root of your conjoon installation. This will be done automatically when running the install wizard. '''6. _configCache''' This folder will store chached instances of the configuration file for the conjoon application. This folder must be put into the document-root of your conjoon installation. This will be done automatically when running the install wizard. ==== Installing the database ==== The current version of conjoon only supports the MySQL database. Navigate to the folder /build/htdocs/install/datastore/mysql and open the file "conjoon.sql". The token "{DATABASE.TABLE.PREFIX}" is a placeholder for table prefixes, so either replace it with a prefix of your choice or remove this token entirely if you do not want to work with table prefixes. Tables installed for the current version are as follows: {{{ groupware_contact_items groupware_contact_items_email groupware_contact_items_flags groupware_email_accounts groupware_email_folders groupware_email_folders_accounts groupware_email_folders_users groupware_email_items groupware_email_items_attachments groupware_email_items_flags groupware_email_items_inbox groupware_email_items_outbox groupware_email_items_references groupware_feeds_accounts groupware_feeds_items groupware_feeds_items_flags service_twitter_accounts users }}} (Note: When using the install wizard, you can chose a prefix that gets prepended to the tables, in case your hoster allows for only one database to use. So table names might differ in your final installation.) Since V0.1a3, conjoon does not set up a default user. If you are not using the installation wizard, you need to add a user by hand. Do so by browsing the table "users" using phpmyadmin or any other MySQL administration tool and insert a new row. Make sure the password you provide is md5-hashed. Also, the "is_root" field for this user has to be set to "1". ==== Adjusting the configuration file ==== Navigate to the path where you have copied the contents of the htdocs folder and rename the file "htdocs/install/config.ini.php.template" to "htdocs/config.ini.php". Adjust the settings to match your server setup. The file is commented so it should be quite easy to configure. ==== Adjusting the .htaccess file ==== Navigate to the path where you have copied the contents of the htdocs folder and open the "htdocs/install/htaccess.template" file in a text editor of your choice. Set the "RewriteBase" value to the value of the "base_url" as configured in your "config.ini.php". This is to make sure mod_rewrite works properly if conjoon is installed in a subfolder of your document root. Once this is done, rename the file to "htdocs/.htaccess". ==== php.ini settings ==== The following settings have to be adjusted: * magic_quotes_gpc has to be set to "off" * register_globals has to be set to "off" The include path does not have necessarily to be adjusted to hold the path to the "libs" folder, you can configure this using the config.ini.php. However, using the php.ini setting will give you a performance increase, since conjoon does not have to set this value upon each and every request when configured in the config.ini.php. Additionally, setting the include_path other than using the configuration file will allow conjoon to cache the configuration, which prevents it from parsing on each and every request. ==== Apache configuration ==== Apache should be configured with {{{ AllowEncodedSlashes On }}} This is to allow the redirector to use encoded slashes. See also http://zendframework.com/issues/browse/ZF-3959 '''Notice:''' conjoon will still work if this setting is not adjusted, however, when redirecting to other URLS using links in RSS-feeds or emails, conjoon might throw an error. ---- === Chapter 2.2 Automatic installation === ==== Notes regarding updating conjoon 0.1a2 ==== Any version < than V0.1a3 is not compatible with the installation wizard introduced in V0.1a3. It is recommended that you set up a fresh install if you are currently using V0.1a2. ==== Notes regarding PHP's safe_mode ==== The wizard will generate an error notice if it detects that PHP's safe_mode option is enabled. In this case, the wizard might not be able to move the conjoon_application/_libs folders to their desired location. If safe_mode is enabled on your webserver, you have to move the specified folders by hand, and set the file permissions according to your server setup. ==== Placing the install files to where they belong ==== If there is an existing conjoon installation, now would be the best time to do a full backup of conjoon's data. Once this is done, copy the contents of build/htdocs into the document root of your existing - or future - conjoon installation. Overwrite any existing files. Note: You do not necessarily need to remove any folders from the document root that belong to the conjoon application. The install wizard is able to detect obsolete folders and will tell if it's going to remove them. ==== Running the wizard ==== Since V0.1a3, conjoon ships with an installation wizard that will make installing and further upgrading of conjoon easier. Simply set up your webserver so that you can access the contents of the build/htdocs directory using a webbrowser (as described in "Placing the install files to where they belong") and call the index.php in the folder htdocs/install. The wizard will guide you through the setup steps, which should be quite easy to follow. Once the wizard finishes, you need to delete the install folder entirely. Otherwise conjoon will quit with an error message if it detects that this folder is still accessible. Note: The wizard will save the installation progress in a file called htdocs/installation.info.php. DO NOT DELETE THIS FILE! This file will help the wizard when you update conjoon in the future. ---- == Chapter 3. Problems? == In case you experience any problems during installation or running conjoon, please visit the forums over at http://www.conjoon.org/forum and ask for help. ----
