<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
SSH:
create a info.php file in the webroot
nano info.php add the code and save
Ftp/Sftp:
create a txt file on your pc by name info.php with same code inside and upload into the webroot of the site.
View the site on yourdomain.com/info.php ones it is done
Powered by 9stats Ltd