How to check version of php on your web server


In many cases you want to look for your php's version and its internal settings.Here is the small tip to do it easily.

1.) Create a new document in Notepad or any other text editor.
2.) Type following with no spaces or lines above or below
phpinfo();
?>

3.) Save the file as test.php or any other name you like, but should end with .php
4.) Upload using an FTP client to the root of your domain name where your website is hosted.
5.) Run http://yourdomain.com/test.php in your browser

And a detailed page will reveal all the information about your PHP version and lots of technical details about your PHP core and server configuration which you never knew.