If you're using OSX you can open Terminal by typing:

cmd + space bar

or just going to Applications -> Utilities and clicking on the Terminal icon.

On the command line in Terminal type:

php -v

The -v flag means version. This will show you which version of PHP you are using. For more options to the php command you can type man php.

Tyler Tyler (291)
0

In this guide I'm going to describe how to get started with PHP and MySQL.