Table of Contents
A PHP memory caching utility such as Redis can significantly decrease load times, speeding up PHP requests by storing compiled files for quicker retrieval.
Both the Redis database and PHP interfacing extension need to be installed:
# pkg_add redis pecl-redis
Add to rc.d to run at startup and then start Redis:
# rcctl enable redis # rcctl start redis
First, make the directory with appropriate ownership and permissions in the chroot where Redis will create the unix socket file:
# mkdir /var/www/redis # chown …