summaryrefslogtreecommitdiff
path: root/www/php-owncloud/MESSAGE
blob: aa7ff13c54104cf7cce4cc51a20cae3255b89bd5 (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
41
42
===========================================================================
$NetBSD: MESSAGE,v 1.10 2013/01/25 20:02:24 ryoon Exp $

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

1. If you want to use with MySQL server, install databases/mysql51-*
   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

	DocumentRoot "${PREFIX}/share/owncloud"
	LoadModule php5_module lib/httpd/mod_php5.so
	AddType application/x-httpd-php .php
	<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/ and setup.
===========================================================================