Contribs.org

Please login or register.

Login with username, password and session length

News:

We need you! Please help us to make SME Server a better product. More info here

Pages: [1]   Go Down

Author Topic: Nextcloud e opcache  (Read 152 times)

gromit60

  • Quite a regular
  • **
  • Offline Offline
  • Posts: 58
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.
Logged

mmccarn

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 2,201
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?
Logged

gromit60

  • Quite a regular
  • **
  • Offline Offline
  • Posts: 58
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 »
Logged

hfwang

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 2,579
    • Koozali SME Server
Re: Nextcloud e opcache
« Reply #3 on: September 02, 2017, 05:26:46 AM »

« Last Edit: September 02, 2017, 05:42:58 AM by hfwang »
Logged

gromit60

  • Quite a regular
  • **
  • Offline Offline
  • Posts: 58
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?
Logged

hfwang

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 2,579
    • Koozali SME Server
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

gromit60

  • Quite a regular
  • **
  • Offline Offline
  • Posts: 58
Re: Nextcloud e opcache
« Reply #6 on: Yesterday at 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
Logged

hfwang

  • Wiki & Docs Team
  • *
  • Offline Offline
  • Posts: 2,579
    • Koozali SME Server
Re: Nextcloud e opcache
« Reply #7 on: Yesterday at 09:58:53 AM »

/etc/opt/remi/... should be present not /opt/remi/php71/root/etc

gromit60

  • Quite a regular
  • **
  • Offline Offline
  • Posts: 58
Re: Nextcloud e opcache
« Reply #8 on: Yesterday at 11:15:52 AM »

sorry...
Logged
Pages: [1]   Go Up
 

Page created in 0.033 seconds with 25 queries.