Set PHP 5.6 as Default

Use the following set of commands to set PHP 5.6 as default version for Apache and command line.

Apache:-

CLI:-