Thursday, May 13, 2010

How to Install cPanel in my server

If you want to install cpanel into your account then just do the following steps

1. cd /home — This will opens your directory /home.
2. wget -N — By this command you will able to fetches the latest installation file from the cPanel servers.
3. sh latest — This command will runs the installation process. Now wait for cpanel to install into your server. After completion of installation run the following command.
4. /usr/local/cpanel/cpkeyclt — This command will activates your license after installation. If you haven't any license then you can get a 15 days trial license from cpanel. Register yourself here

Wednesday, May 12, 2010

How to Find PHP Version From Command Line

This is very basic question that how to find the PHP version installed in my computer. It is well known that you can have more that one version of PHP in your computer.
just open your command prompt and write the following command.

root@servername [~]# php -v

You will see the output like :

PHP 5.2.13 (cli) (built: Mar 21 2010 16:37:21)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with eAccelerator v0.9.6, Copyright (c) 2004-2010 eAccelerator, by eAccelerator
with the ionCube PHP Loader v3.3.14, Copyright (c) 2002-2010, by ionCube Ltd., and
with Zend Optimizer v3.3.9, Copyright (c) 1998-2009, by Zend Technologies

About Me

My photo
Greetings Friend! I am Linux scholar, trying to learn as much I can and share it with you. I am in mid of my Professional Career. Doing Good. :)