How to change default PHP version in plesk

How to change default PHP version in Plesk

In this article, we will see how we can change the default PHP version in plesk. The latest plesk versions come with all the php versions installed (we have the option to install all the php versions). So, there is no need to install a separate PHP in the server for setting the default PHP … Read more

ntPHPSelector version 4.2.0 released

New version of ntPHPselector with 7.2 support is released. It is added with email notification for any license check related errors. Server owner/administrator needs to update the contact email address via ntPHPselector WHM front end. Also added fix for the scanning of additional ini files for php 5.3 Features [+] Fixed the additional scanning of … Read more

Install Redis Daemon and Redis PHP extention on CentOS/RHEL/cPanel

Redis is an open-source, networked, in-memory, key-value data store with optional durability. It is written in ANSI C. It’s a “NoSQL” key-value data store. More precisely, it is a data structure server. To install Redis as daemon on a CentOS/RHEL/cPanel server, do the following steps cd /usr/local/ wget http://download.redis.io/releases/redis-2.8.12.tar.gz tar -xvzf redis-2.8.12.tar.gz cd redis-2.8.12 make … Read more

ntPHPselector : Bug fix #New Line entry error with AddHandler

Bug # New Line entry error with AddHandler

Description: If an htaccess file is not end with a new line the newly added “AddHandler” entry will be append to the end of the last line. The issue is occur with the .htaccess files eithout ending a newline (normally it ends with new line). The bug is fixed in the new version 2.0.4 by adding the AddHandler Entry as new Line. Since there is no major changes, no need to recompile, reinstall the ntphpselector plugin. The old users can fix this bug by running the following commands from root terminal.

Fix:

cd /usr/local/src
wget -N http://nixtree.com/download/free/ntphp/ntphp_patch204.sh
sh ntphp_patch204.sh

Read more

ntPHPselector :: Released v2.0.0

ntPHPselector plugin allows user to select preferred PHP version per directory on the same domain.

Added features

  • The textbox has been removed and directory listing is enabled. So now the user can click and select and directory from the list.
  • Enabled sqlite support for PHP 5.4 and 5.5
  • Enabled server timezone in each php.ini files
  • PHP 5.2.17 download is now from NixTree’s website as cPanel will remove the tarballs from their repo after a while.

    Read more

mysqli_connect(): (HY000/2002): Can’t connect to local MySQL server through socket – SugarCRM – cron.php

PHP Warning: mysqli_connect(): (HY000/2002): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2) in sugarcrm/include/database/MysqliManager.php on line We have faced such an error with SugarCRM today. The above error was reporting in error_log file every time the cron.php is executed via cron job. We have taken a closer look and couldn’t find any real reason why … Read more