Category: Drupal

Install PEAR/PHP Mail function

  PHP Mail function should be installed on your server if you want to send emails from your code, to install 1. Install Pear package (if it is not already installed) by running Debian/Ubuntu: apt-get install php-pear Redhat/CentOS: yum install php-pear 2. Once the pear installation is complete or if you have PEAR already installed, […]

CMS: Get complete list of all installed CMS’s on Server

  The following scripts may be very handy to get all the list of CMS’s on various servers. WordPress: cPanel: find /home/*/public_html/ -type f -iwholename “*/wp-includes/version.php” -exec grep -H “\$wp_version =” {} \;   Plesk: find /var/www/vhosts/*/httpdocs -type f -iwholename “*/wp-includes/version.php” -exec grep -H “\$wp_version =” {} \;   Joomla: cPanel: find /home/*/public_html/ -type f […]

www.hostingdada.net © 2016