With the help of the info.php file you can find out the PHP version used by your website, as well as the current version of MySQL.
-
To create a info.php file, access File Manager from your cPanel account.
-
From the left corner, choose File option. Name the file info.php, enter the document root of your website (usually it's public_html), and then click on "Create New File" button.
-
Right click on info.php and select Edit.
- Enter the following code lines in the info.php file and click Save Changes:
<?php
phpinfo();
?> In order to see the information from the php.info file you will need to go to the following page:
domain.tld/info.php
Note: domain.tld is a way to exemplify a domain name.
Example of a domain.tld: easyhost.ro, google.com etc.
For more information on reliable hosting and the services we offer, please visit our homepage.
Comments
0 comments
Please sign in to leave a comment.