On a Linux server with multiple versions of php installed, I am looking for a simple command to show me the version of php being used for the current working directory through command line.
At first I tried simply using
php -v
but that apparently only shows the default php version for the server rather than the one set by .htaccess for the current directory.
Any help or a push in the right direction would be greatly appreciated.