I have problem that i have a php application and i wanted to run at my system

so i wanted to know which veriosn(along with major and minor) the application is using for php !!

I mean is there any way to get major and minor version of php veriosn !! so that i installed that version and make applciation in running format with out error and any exception!

Since php is an open source so there r mnay major nad minor version of that

and i wanted to trace actual version!!

hope any would reply