VI/VIM not colorizing syntax like html or php

I am brushing my old pc and installing ubuntu on it. As I was installing php-mysql and related packages I noticed that the vim/vi editor is not highlighting html or php syntaxes.
That would be it if you are running a bit older version of the ubuntu. Upgrading vim will take care of the problem:

sudo apt-get install vim-genome
sudo apt-get install vim

then go to the vimrc file and – it would be in /etc/vim/vimrc by default and uncomment the line syntax on

then you should get your vim rocking!