configure: error: no, libmemcached sasl support is not enabled. (pecl/memcached, CentOS, cpanel)

# yum install libmemcached libmemcached-devel # pecl install memcached libmemcached directory [no]: checking whether libmemcached supports sasl… no configure: error: no, libmemcached sasl support is not enabled. Run configure with –disable-memcached-sasl to disable this check ERROR: `/tmp/pear/temp/memcached/configure –with-libmemcached-dir=no’ failed yum install cyrus-sasl-devel # cd /usr/local/src # wget https://launchpad.net/libmemcached/1.0/1.0.18/+download/libmemcached-1.0.18.tar.gz # tar -zxvf libmemcached-1.0.18.tar.gz # cd libmemcached-1.0.18 … Read more

Install Memcache on WHM/cPanel or CentOS

Memcached (Memcache Daemon) is a caching daemon designed especially for dynamic web applications to decrease database load by storing objects in memory. It is commonly used to speed up dynamic database-driven websites by caching data and objects in server memory to reduce the number of times the data source must be read. Memcached is free … Read more

opcache in php 5.5

Installation OpCache is compiled by default on PHP5.5+. However it is disabled by default. In order to start using OpCache in PHP5.5+ you will first have to enable it. To do this you would have to do the following. Add the following line to your php.ini: Note that when the path contains spaces you should … Read more

Joomla protection

How to start protecting your Joomla Site Always keep Joomla core up-to date Always make sure you run the latest patched versions of extensions Make sure you choose strong passwords for all logins Check your own website for vulnerabilities Always check the webserver’s log files for potential hack attempts Secure your server if you host your Joomla website on … Read more

Install php-soap

On CentOS: If you get this error: Checking the repos, I had to enable the atomic repo /etc/yum.repos.d/atomic.repo Then the installtion would work with the update: Verify: Now restart apache

HTTP Strict Transport Security (HSTS)

HTTP Strict Transport Security (HSTS) is an opt-in browser security mechanism that lets web site owners declare “Encrypted Communications Only”. Strict-Transport-Security HTTP header instructs browsers to only communicate with the domain over SSL/TLS for a set period of time (the max-age). HSTS only goes into effect after a browser receives a valid header from the … Read more