How do I install local version of PHP?

Local PHP Version. Open the Command Prompt or Terminal. If you have PHP installed locally, you can use the Command Prompt or Terminal to check the version. This also works if you use SSH to create a remote connection to your server via the command line.
For More Information Please Refer:

You May Also Like to Read: