PHP.ini Manager

PHP.ini Manager (phpinimgr) is a WHM plugin designed to help you manage custom php.ini files for your users. It will list all php.ini files in the users root and www folder. If you are using suPHP, you can laso use PHP.ini Manager to activate, edit and update custom php.ini files for your users.


  • List custom php.ini files, per user
  • Ability to activate / deactivate the use of a custom php.ini file, per user
  • Built-in editor
  • Ability to update all custom php.ini files with the global copy, while retaining custom settings
  • Checks to see if suPHP is correctly set-up to handle custom php.ini files
  • More!

Installation instructions

To install PHP.ini Manager, open a SSH connection to your server and execute the following commands:

cd /usr/local/cpanel/whostmgr/docroot/cgi
wget -O addon_phpinimgr.php
chmod 700 addon_phpinimgr.php

You will now find PHP.ini Manager in WHM, under the Plugins section.

Uninstall instructions

If you want to remove PHP.ini Manager, just run these commands. Please note that this only removes the plugin. Any custom php.ini files that you have set and/or enabled will not be removed.

rm -rf /usr/local/cpanel/whostmgr/docroot/cgi/phpinimgr/
rm -f /usr/local/cpanel/whostmgr/docroot/cgi/addon_phpinimgr.php

Final Term

Final Term Terminal Emulator
Don’t just use your system — command it!
Final Term is a new breed of terminal emulator. It goes beyond mere emulation and understands what is happening inside the shell it is hosting. This allows it to offer features no other terminal can:
Continue reading “Final Term”

cPanel Update – AppConfig


cPanel has pushed out an update last night that has a few customers a little bothered/worried. WHM is sending notices from the server that new apps have been registered with (WHM) whostmgr AppConfig. This appears to be a new feature in 11.38.1

Documented information is here:

Overview according to cP:

cPanel has a subsystem that allows you to affect applications served from within cPanel, WHM, or webmail. In cPanel & WHM 11.32, we added the AppConfig system which provides the ability to specify two low-level attributes when cPanel, WHM, or webmail serves an application. You can choose:

  1. Which user owns the runtime process (the system user that the process will run as).
  2. Which php.ini the PHP binary should utilize.

In cPanel & WHM 11.38.1+, the AppConfig system was expanded and can now fully replace the original methods for registering and displaying WHM Plugins. Registration is required for WHM addons, and is strongly recommend for cPanel & Webmail addons. Registration is only required if the admin has enabled the Tweak Setting to force WHM registration with appconfig. This option defaults to off in version 11.38.1.

Installing Puppet Open-Source on CentOS 5.8


I recently started playing around with Puppet to manage my current infrastructure of a plethora of linux flavors. After an evaluation using Puppet-Enterprise I was told to see what I could do with the Open Source version. As Puppet-Enterprise is pretty much a ‘no brainer’ install, the open-source version is a different animal.
I’ve had several attempts at installing the Open Source version of Puppet and getting it enterprise ready. Below are my notes on it’s installation:

First, I started with a clean install of CentOS 5.8. I disable selinux but not the firewall. Then did a ‘sudo yum update’ to bring it up to date.
Continue reading “Installing Puppet Open-Source on CentOS 5.8”

PuTTY Tray

PuTTY Tray is an improved version of PuTTY. It features some cosmetic changes, and a number of addons to make it more useful and much more fun to use.

Originally compiled by Barry Haanstra, now maintained by Chris West (Faux).

  • Minimizing to the system tray (on CTRL + minimize, always or directly on startup)
  • Icons are customisable
  • Blinks tray icon when a bell signal is received
  • Configurable window transparency
  • URL hyperlinking
  • Portability: optionally stores session configuration in files (for example: on a USB drive) like portaPuTTY
  • Easy access to the ‘always on top’ setting (in the system menu)
  • Reconnects on connection failure, including when waking up from stand-by
  • Android adb support
    The current version is 0.62-t013.
    Last update: 25th October, 2012.

    PuTTY Tray:

If you are looking for the original version of PuTTY:


MobaXterm is an enhanced terminal for Windows with an X11 server, a SSH client and several other network tools for remote computing (VNC, RDP, telnet, rlogin). MobaXterm brings all the essential Unix commands to Windows desktop, in a single portable exe file which works out of the box.
MobaXterm provides useful features for developers, sysadmins, webmasters and advanced computer users:

  • multitab terminal with embedded Unix commands (ls, cd, cat, sed, grep, awk, rsync, wget, …)
  • embedded X11 server for easily exporting your Unix/Linux display
  • a session manager with several network utilities: SSH, RDP, VNC, Telnet, Rlogin, FTP, SFTP and XDMCP
  • passwords management for SSH, RDP, VNC, SFTP (on demand password saving)
  • easy graphical file transfer using drag and drop during SSH sessions
  • advanced SSH tunnels creation tool (graphical port forwarding builder)
  • tasks automation using scripts or macros

You can also use some of the free plugins in order to extend MobaXterm capabilities!

MobaXterm key features :

  • Free X server fully configured (based on Xorg)
  • Tab-based terminal based on PuTTY / MinTTY with antialiased fonts and macro support
  • Easy DISPLAY exportation from any remote host
  • X11-Forwarding capability in OpenSSH
  • Several Unix/Linux commands based on Cygwin (rsync, wget, sed, awk, grep, cd, ls, cat, cp, …)
  • A session manager with all the network clients you need: RDP, VNC, SSH, telnet, rsh, FTP, SFTP and XDMCP
  • Program without installation that you can start from an USB stick
  • Light and portable application, packaged in a single executable

Download MobaXterm 6.3

Using hash tags to organize bash history


Using hash tags to organize bash history

We use hash tags all over the place in social networks. We use it extensively on Twitter and Instagram. Facebook recently launched support for hash tags as well.

So, in a way, our online life revolves around hash tags. Given that, it’s a really great thing for bash power users that # in shell means comment. I usually tend to type long commands and won’t bother remembering or saving them somewhere as it is in the bash history and i can retrieve it by reverse-i-search (Ctrl+R) anytime I want.
Continue reading “Using hash tags to organize bash history”

CSF Updates


Just a heads up to you tech heads out there that CSF made a few major changes to the firewall data structure. These changes mostly affects the location of where the csf temporary IP block files are located.

The csf temporary block files ‘csf.tempban’ and ‘csf.tempip’ are now located in /var/lib/csf/

Below is the most recent change log which includes the directory structure changes for CSF:
Continue reading “CSF Updates”