| @@ -1,15 +1,15 @@ | | | @@ -1,15 +1,15 @@ |
1 | =========================================================================== | | 1 | =========================================================================== |
2 | $NetBSD: MESSAGE,v 1.2 2017/04/05 12:33:49 fhajny Exp $ | | 2 | $NetBSD: MESSAGE,v 1.3 2018/11/22 12:30:49 ryoon Exp $ |
3 | | | 3 | |
4 | To use Nextcloud, you will need to perform the following steps. | | 4 | To use Nextcloud, you will need to perform the following steps. |
5 | | | 5 | |
6 | 1. If you want to use with MySQL server, install databases/mysql55-* | | 6 | 1. If you want to use with MySQL server, install databases/mysql55-* |
7 | and enable it, then create database. | | 7 | and enable it, then create database. |
8 | | | 8 | |
9 | 2. Install nginx httpd server, for example www/nginx. | | 9 | 2. Install nginx httpd server, for example www/nginx. |
10 | | | 10 | |
11 | 3. Install PHP-FPM, PHP FastCGI Process Magager from www/php-fpm. | | 11 | 3. Install PHP-FPM, PHP FastCGI Process Magager from www/php-fpm. |
12 | | | 12 | |
13 | 4. Be sure to have the following lines in ${PREFIX}/etc/nginx/nginx.conf | | 13 | 4. Be sure to have the following lines in ${PREFIX}/etc/nginx/nginx.conf |
14 | to enable PHP script in http://YOUR_SERVER_NAME/ . | | 14 | to enable PHP script in http://YOUR_SERVER_NAME/ . |
15 | From http://doc.owncloud.org/server/6.0/admin_manual/installation/installation_source.html . | | 15 | From http://doc.owncloud.org/server/6.0/admin_manual/installation/installation_source.html . |
| @@ -80,26 +80,27 @@ server { | | | @@ -80,26 +80,27 @@ server { |
80 | } | | 80 | } |
81 | } | | 81 | } |
82 | | | 82 | |
83 | 5. Be sure to have the following lines in ${PREFIX}/etc/php-fam.conf | | 83 | 5. Be sure to have the following lines in ${PREFIX}/etc/php-fam.conf |
84 | to restrict access from localhost only. | | 84 | to restrict access from localhost only. |
85 | | | 85 | |
86 | listen.allowed_clients = 127.0.0.1 | | 86 | listen.allowed_clients = 127.0.0.1 |
87 | | | 87 | |
88 | 6. Be sure to have the following lines in ${PREFIX}/etc/php.ini. | | 88 | 6. Be sure to have the following lines in ${PREFIX}/etc/php.ini. |
89 | | | 89 | |
90 | extension=curl.so | | 90 | extension=curl.so |
91 | extension=gd.so | | 91 | extension=gd.so |
92 | extension=iconv.so | | 92 | extension=iconv.so |
| | | 93 | extension=intl.so |
93 | extension=json.so | | 94 | extension=json.so |
94 | extension=mbstring.so | | 95 | extension=mbstring.so |
95 | extension=zip.so | | 96 | extension=zip.so |
96 | extension=zlib.so | | 97 | extension=zlib.so |
97 | | | 98 | |
98 | extension=pdo.so ;if you select sqlite backend. | | 99 | extension=pdo.so ;if you select sqlite backend. |
99 | extension=pdo_sqlite.so ;if you select sqlite backend. | | 100 | extension=pdo_sqlite.so ;if you select sqlite backend. |
100 | extension=pdo_mysql.so ;if you select MySQL backend. | | 101 | extension=pdo_mysql.so ;if you select MySQL backend. |
101 | extension=pdo_pgsql.so ;if you select PostgreSQL backend. | | 102 | extension=pdo_pgsql.so ;if you select PostgreSQL backend. |
102 | | | 103 | |
103 | 7. Start PHP-FPM daemon. | | 104 | 7. Start PHP-FPM daemon. |
104 | | | 105 | |
105 | ${RCD_SCRIPTS_DIR}/php_fpm start | | 106 | ${RCD_SCRIPTS_DIR}/php_fpm start |