If you’re not familiar with how to create a php page, follow the steps below to create a phpinfo page using your “File Manager”.
In the Files section of your cPanel, open the File Manager option.
Navigate to the directory you are working with. This is important because each folder can actually be set to have different PHP settings. In this example, we are viewing the PHP settings for our main domain, so we are navigating to the “public_html” folder.
In the top menu, click +File option to create a new file.
When prompted for the file name, enter phpinfo.php (it can actually be named anything, phpinfo.php is simply a common name for the file).
Find the phpinfo.php file in your list of files. Right-click on it and choose Edit. If you see a “Text Editor” prompt, choose “utf-8” from the drop-down list and then click Edit.
Enter the following code into the phpinfo.php file.
<? phpinfo(); ?>
Then click Save Changes.