Archive for the ‘Unix’ Category

Centos 5.6: Find PHP Version using Command Line

May 30th, 2011 by @HKw@! | No Comments | Filed in centos, Fedora, Linux, RedHat, Unix

I wanted to install phpmyadmin on Centos 5.6 Machine. I check from phpmyadmin official web site, phpmyadmin requires at least PHP 5.2 and MySQL 5. I have to check my php version 1st before start install.

Here is a useful command to display or show what version of php you have installed in your Linux Machine.

Just enter following command to check your PHP Version

root@raptor(~)
[ 2]# php -v
PHP 5.1.6 (cli) (built: Nov 29 2010 16:47:46)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies

Once you enter the php -v command, you should able to see the result like what i show you above, if you don’t get something like the above, then it means that you don’t have php installed in your server.

 

Share

Tags: , ,

How to find your MAC address (Linux/Windows/Mac OS X)

March 18th, 2010 by @HKw@! | No Comments | Filed in centos, Fedora, Linux, Mac OS X, Networking, Ubuntu, Unix, Win7, Windows

Windows XP/Vista/7
Run ipconfig/all from a Command Prompt window.

  • click Start, then Run, then type cmd in the text box.
  • Type in ipconfig/all in the Command Prompt Windows and press enter

You should get something like this (more…)

Share

How to open winrar files on Linux (Fedora/Ubuntu)

January 4th, 2010 by @HKw@! | No Comments | Filed in Fedora, Open Office, Ubuntu, Unix

I just downloaded .rar file. But i can’t open it under my Fedora operating systems. How to open it?

RAR is a proprietary compression format widely used today. By default, Fedora unable to open RAR files. So, you need to install a software called unrar.

How to install unrar on Fedora?

Just use yum command as follows : (more…)

Share
BlogCatalog