summaryrefslogtreecommitdiff
path: root/www/php-owncloud/MESSAGE
blob: 578f7598aa990d92547f017fa54e76fec46ab831 (plain)
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
===========================================================================
$NetBSD: MESSAGE,v 1.12 2013/09/28 13:29:51 ryoon Exp $

To use ownCloud, you will need to perform the following steps.

1. If you want to use with MySQL server, install databases/mysql55-*
   and enable it, then create database.

2. Install apache httpd server, for example www/apache24 and www/ap-php.

3. Be sure to have the following lines in ${PREFIX}/etc/httpd/httpd.conf

	Alias /owncloud ${PREFIX}/share/owncloud
	<Directory "${PREFIX}/share/owncloud">
		DirectoryIndex index.php
		Options All
		Allow from All
		AllowOverride All
		Require all granted
	</Directory>

4. Be sure to have the following lines in ${PREFIX}/etc/php.ini.

	extension=dom.so
	extension=gd.so
	extension=iconv.so
	extension=json.so
	extension=mbstring.so
	extension=pdo.so
	extension=zip.so
	extension=zlib.so

	extension=pdo_sqlite.so ;if you select sqlite backend.
	extension=mysql.so ;if you select MySQL backend.
	extension=pgsql.so ;if you select PostgreSQL backend.

5. Start apache httpd.

6. Access http://localhost/owncloud/ and setup.
===========================================================================