Koozali.org: home of the SME Server
Other Languages => Italiano => Topic started by: gromit60 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.
-
Is there anything in /opt/rh/php71 or /opt/rh/php70?
-
No, /opt/rh is empty. In /opt there is another directory (/remi) inside which there is php71.
-
/etc/opt/remi/php71
FYI: https://bugs.koozali.org/show_bug.cgi?id=10343 (https://bugs.koozali.org/show_bug.cgi?id=10343)
-
I see the bug is solved. Now what can I do to solve my problem?
-
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
-
[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
-
/etc/opt/remi/... should be present not /opt/remi/php71/root/etc
-
sorry...