Save this code as phpinfo.php and upload, it will show all the server info you need.
P.S. Don’t leave on the server!