Koozali.org: home of the SME Server

Nextcloud e opcache

Offline gromit60

  • ***
  • 97
  • +0/-0
Nextcloud e opcache
« on: August 31, 2017, 12:15:48 PM »
Dopo varie peripezie, sono riuscito ad installare una bella versione di Nextcloud (l'ultima al momento, cioè la 12.0.2) su uno SME 9.2.
Tutto funziona bene, ma non egregiamente, in quanto non riesco ad attivare la opcache per PHP.
Premetto che ho utilizzato - come da howto - PHP Software Collection per selezionare una specifica versione di PHP nella ibay, in questo caso la 7.1.
Ho anche installato php71-php-opcache, ma a questo punto mi perdo perché non ho capito in quale php.ini andare ad attivare l'utilizzo della cache come da istruzioni.
Deduco che /etc/php.ini sia utilizzato da SME per la versione di PHP "generale", mentre la versione specifica per la 7.1, dov'è?

Grazie in anticipo.

Offline mmccarn

  • *
  • 2,626
  • +10/-0
Re: Nextcloud e opcache
« Reply #1 on: August 31, 2017, 12:47:16 PM »
Is there anything in /opt/rh/php71 or /opt/rh/php70?

Offline gromit60

  • ***
  • 97
  • +0/-0
Re: Nextcloud e opcache
« Reply #2 on: August 31, 2017, 12:59:24 PM »
No, /opt/rh is empty. In /opt there is another directory (/remi) inside which there is php71.
« Last Edit: August 31, 2017, 01:06:24 PM by gromit60 »

guest22

Re: Nextcloud e opcache
« Reply #3 on: September 02, 2017, 05:26:46 AM »

Offline gromit60

  • ***
  • 97
  • +0/-0
Re: Nextcloud e opcache
« Reply #4 on: September 14, 2017, 10:58:51 AM »
I see the bug is solved. Now what can I do to solve my problem?

guest22

Re: Nextcloud e opcache
« Reply #5 on: September 14, 2017, 11:07:37 AM »
I see the bug is solved. Now what can I do to solve my problem?


yum update --enablerepo=smecontribs
signal-event post-upgrade; signal-event reboot

Offline gromit60

  • ***
  • 97
  • +0/-0
Re: Nextcloud e opcache
« Reply #6 on: September 19, 2017, 09:54:56 AM »
[root@oddish ~]# yum list | grep php-scl
smeserver-php-scl.noarch                 0.4-15.el6.sme              @smecontribs
[root@oddish ~]# yum update --enablerepo=smecontribs
Plugin abilitati:fastestmirror, smeserver
Impostazione processo di aggiornamento
Loading mirror speeds from cached hostfile
 * base: mirrors.prometeus.net
 * smeaddons: ibsgaarden.dk
 * smecontribs: mirror.chiropratique.org
 * smeextras: ibsgaarden.dk
 * smeos: ibsgaarden.dk
 * smeupdates: ibsgaarden.dk
 * updates: mirrors.prometeus.net
Nessun pacchetto marcato per l'aggiornamento

[root@oddish php71]# cd /opt/remi/php71/root/
[root@oddish root]# ls
bin  boot  dev  home  lib  lib64  media  mnt  opt  proc  root  sbin  selinux  srv  sys  tmp  usr

/etc is not present

guest22

Re: Nextcloud e opcache
« Reply #7 on: September 19, 2017, 09:58:53 AM »
/etc/opt/remi/... should be present not /opt/remi/php71/root/etc

Offline gromit60

  • ***
  • 97
  • +0/-0
Re: Nextcloud e opcache
« Reply #8 on: September 19, 2017, 11:15:52 AM »
sorry...