Initialising naive code for switching php version.
Improving sed command.
Trying to install php by brew if is not installed.