Mudanças entre as edições de "Nextcloud"

De MochilaWiki
Ir para navegaçãoIr para pesquisar
Linha 5: Linha 5:
  
 
e em config/config.php coloque 'memcache.local' => '\OC\Memcache\APCu',
 
e em config/config.php coloque 'memcache.local' => '\OC\Memcache\APCu',
 +
 +
em /etc/php5/fpm/pool.d/espacognu.net.conf
 +
[elegbara.net]
 +
listen = 127.0.0.1:9015
 +
listen.allowed_clients = 127.0.0.1
 +
user = elegbara
 +
group = elegbara
 +
listen.owner = elegbara
 +
listen.group = elegbara
 +
listen.mode = 0660
 +
pm = dynamic
 +
pm.max_children = 5
 +
pm.start_servers = 2
 +
pm.min_spare_servers = 1
 +
pm.max_spare_servers = 2
 +
pm.max_requests = 100
 +
chdir = /
 +
php_admin_value[session.save_path] = /home/sftp/elegbara.net/tmp
 +
php_admin_value[upload_tmp_dir] = /home/sftp/elegbara.net/tmp
 +
request_slowlog_timeout = 30s
 +
request_terminate_timeout = 120s
 +
slowlog = /var/log/php-fpm/main.log
 +
env[HOSTNAME] = $HOSTNAME
 +
env[TMP]      = /home/sftp/elegbara.net/tmp
 +
env[TMPDIR]  = /home/sftp/elegbara.net/tmp
 +
env[TEMP]    = /home/sftp/elegbara.net/tmp
 +
env[PATH] = /home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
 +
request_terminate_timeout = 30s

Edição das 14h02min de 26 de abril de 2017

sudo apt-get install php5-apcu
sudo /etc/init.d/php5-fpm restart

e em config/config.php coloque 'memcache.local' => '\OC\Memcache\APCu',

em /etc/php5/fpm/pool.d/espacognu.net.conf

[elegbara.net]
listen = 127.0.0.1:9015
listen.allowed_clients = 127.0.0.1
user = elegbara
group = elegbara
listen.owner = elegbara
listen.group = elegbara
listen.mode = 0660
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 2
pm.max_requests = 100
chdir = /
php_admin_value[session.save_path] = /home/sftp/elegbara.net/tmp
php_admin_value[upload_tmp_dir] = /home/sftp/elegbara.net/tmp
request_slowlog_timeout = 30s
request_terminate_timeout = 120s
slowlog = /var/log/php-fpm/main.log
env[HOSTNAME] = $HOSTNAME
env[TMP]      = /home/sftp/elegbara.net/tmp
env[TMPDIR]   = /home/sftp/elegbara.net/tmp
env[TEMP]     = /home/sftp/elegbara.net/tmp
env[PATH] = /home/user/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
request_terminate_timeout = 30s