How to check PHP version of your website via SSH?

kumkumsharma

Administrator
Staff member
If you are working on PHP and want to immediately know the version of PHP version. Then you should know the command as you are in terminal right now. We all know we have to enter the commands in terminal to work.

There is simple command from which we can know the current PHP version.

Code:
php –v
From this command you will get the output with current PHP version.
 
Top