Normal behavior of Wordpress when installing plugin is to ask for FTP credentials. So to fix the problem, just add this line to wp-config.php (of course, make sure permission are fine). 1define('FS_METHOD','direct'); More troubleshooting details in …
Read MoreI was seeing this error from drupal logs: 1User error: ImageMagick error 127: sh: convert: command not found in _imagemagick_convert_exec() (line 522 of /var/www/example.com/docroot/sites/all/modules/contrib/imagemagick/imagemagick.module). Which indicates that package ImageMagick wasn't installed. Since the machine in …
Read More1sudo add-apt-repository ppa:ondrej/php 2sudo apt-get update 3sudo apt-get install mcrypt php7.1-mcrypt
Read MoreVerify if mcypt is really installed 1php -m|grep -i mcrypt Counter-check from phpmyadmin. If it say installed there, issue is that php-cli can't see mcrypt as a module. Find the mcrypt definition and symlink similar to below: 1ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini See details in …
Read MoreRemi modules are installed in non-standard location. Geerlingguy's ansible role harmonizes it and install it in standard locations. So, if you're not familiar with standard locations, just do the following trick NOTE: In this case, I installed the memcache module for php7.1 from Remi's repo. 1yum install -y …
Read More1yum install -y memcached libmemcached php71-php-pecl-memcache.x86_64 Harden memcached by at least making it listed only on loopback. Config is in /etc/sysonfig/memcached 1PORT="11211" 2USER="memcached" 3MAXCONN="1024" 4CACHESIZE="64" 5OPTIONS="-l 127.0.0.1 -U 0" Details in …
Read More