I am using cent os 6.9 in VPS server and having the root administrator access.I stored all my applications in /home/(cpanel-name)public_html folder.I have already set the default System php version as 7.1 in WHM.
But when creating the new sub domain into the public_html folder it sets the php version as 5.6.So i unable to run composer in my Default php version.
But when creating the new sub domain into the public_html folder it sets the php version as 5.6.So i unable to run composer in my Default php version.