Linux * Python * WHM/Cpanel

Install Python for a user

Log into server as user via SSH : Download Python package of required version from : http://www.python.org/getit/releases/ Say, version required is 2.6.6 Code:  # wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tgz Code:  # tar -xvf Python-2.6.6.tgz Code:  # cd Python-2.6.6 Configure and Install Python for user : Code:  #./configure –prefix=/home/user_name/Python-2.6.6 Code:  # make Code:  # make install Python Binary for […]

Linux * Php

phpinfo() has been disabled

If you get the message while browsing php info page, it means that phpinfo function is disabled. To resolve this you will have to : Remove phpinfo from disable_functions in php.ini To locate php.ini file, use command : # php –ini Check the line Loaded Configuration File: for php.ini location. Remove phpinfo  from disable_functions in […]