How to use phpinfo() function?
phpinfo() is a PHP function which will give information about the webserver. Create a file with extension .php for example myserver.php and upload to the root directory (or any other directory you would like). Open the file in any editor and type phpinfo() and save the file. Go to browser and type www.yourdomain.com/myserver.