CentOS 7 and CWPpro. WebDAV broken No memory cache has been configured. PHP OPcache is not properly configured

nc13

#1

I can not get around this issue I am running on a vServer with
CentOS 7 and CWPpro

I had made a fresh installation yesterday of the CentOS and the CWPpro was installed by support stuff from centos-webpanel.com
so there will not be any issues if i have installed it my self.

I use the account i have created with my CWPpro for to host a domain


this image is when i log in the main page stays on loading all the time
cant upload any thing i do not even have a plus button for creating folders
if i go to gallery and click on plus symbol it looks ok I make attempt to upload
it shows that is uploading but again nothing

this is the error i get

Please Help me I cant take it any longer i think i am going crazy hereā€¦

  • Your web server is not yet properly set up to allow file synchronisation, because the WebDAV interface seems to be broken.

  • No memory cache has been configured. To enhance performance, please configure a memcache, if available. Further information can be found in the documentation.

  • The PHP OPcache is not properly configured. For better performance it is recommended to use the following settings in the php.ini :

opcache.enable=1
opcache.enable_cli=1
opcache.interned_strings_buffer=8
opcache.max_accelerated_files=10000
opcache.memory_consumption=128
opcache.save_comments=1
opcache.revalidate_freq=1

#2

Same hereā€¦ you ever figure out how to fix it?


#3

I have the same problem does anyone have the solution for this?


#5

Hi,

we run Netxtcloud on a Red Hat 7 Enterprise Server and i have the issues with the opcache.
I have edit the configuration file here and this was the Solution for the opache:

This Package is installed:

php72-php- opcache .x86_64

After the Insatllation you will find a Configuration File here:

/etc/opt/remi/php72/php.d
10-opcache.ini

; Enable Zend OPcache extension module
zend_extension=opcache

; Determines if Zend OPCache is enabled
opcache.enable=1

; Determines if Zend OPCache is enabled for the CLI version of PHP
opcache.enable_cli=1

; The OPcache shared memory storage size.
opcache.memory_consumption=128

; The amount of memory for interned strings in Mbytes.
opcache.interned_strings_buffer=8

; The maximum number of keys (scripts) in the OPcache hash table.
; Only numbers between 200 and 1000000 are allowed.
opcache.max_accelerated_files=10000

opcache.revalidate_freq=60

; Enables or disables file search in include_path optimization
;opcache.revalidate_path=0

; If disabled, all PHPDoc comments are dropped from the code to reduce the

; size of the optimized code.
opcache.save_comments=1

; If enabled, a fast shutdown sequence is used for the accelerated code
; Depending on the used Memory Manager this may cause some incompatibilities.
opcache.fast_shutdown=1

I have php72 from remi repo.


#7

Hi,

for the memcache i have configure this here. In the Nextcloud directory folder conf/config.php

ā€˜memcache.localā€™ => ā€˜\OC\Memcache\Memcachedā€™,
ā€˜memcache.distributedā€™ => ā€˜\OC\Memcache\Memcachedā€™,
ā€˜memcached_serversā€™ =>
array (
0 =>
array (
0 => ā€˜localhostā€™,
1 => 11211,
),

On the Server i have install this package:

libmemcached.x86_64
memcached.x86_64
php72-php-pecl-memcache.x86_64
php72-php-pecl-memcached.x86_64

You need to install this package first befor you make the configuration in the config.php


#8

https://hanserasmus.wordpress.com/2018/09/02/installing-a-complete-nextcloud-on-centos-7-5-single-instance/ at the bottom of the page you will ā€œAdditional Settingsā€ and ā€œOPCacheā€ settings.