Run phpinfo to find server information, PHP version, etc. #WordPress
In today’s WordPress tutorial, we’ll show you how to find your PHP version, server information, and more using a simple file. However, please note that this file contains critical information, so make sure to delete it after its usage.
First things first, log into your WordPress dashboard. We need to create a file to run PHP info; for that, you can use cPanel, FTP, or a plugin. We will be using a free plugin called File Manager. Simply install and activate the plugin. Now, you can have access to create all your website files.
Now, create a PHP file, give it any name, and add the code as shown in the video. To find all the information about your server, simply go to your site’s URL and the exact PHP file name. It is case-sensitive.
Thank you very much.