Browsing category


OPcache settings for wordpress nginx php-fpm ubuntu

  opcache.revalidate_freq=0   disable cache expiry check until php-fpm restarts opcache.validate_timestamps=0  when this enable aboe option works opcache.max_accelerated_files=7963   you can check how much amount of php files in your directory aailble for executing this command (find /var/www/html/ -iname *.php|wc -l) opcache.memory_consumption=192  (amount of shared memory fromyour serer ram) opcache.interned_strings_buffer=16   (RAM for strings to cache them as […]

Redis install & configure for wordpress

Latest version 4.0 redis as server Using Redis as an LRU cache Installing from source & compile at server sudo apt-get update sudo apt install build-essential cd /tmp wget tar xzvf redis-stable.tar.gz &&  cd redis-stable make && make install cleaning temdirectory cd.. working with redis configuration file sudo mkdir /etc/redis &&  cp redis.conf /etc/redis/ sudo […]