> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.serverfreak.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Check PHP configuration

1. Login to cpanel : https://yourdomain.com/cpanel

2. Click **FIle Manager** and go to the domain directory

![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/image_jzmsat.png)

3. Please ensure you are in correct domain directory then click **+ File** to create new file

![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/image_pax8a1.png)

4. Create the file name **phpinfo.php** and click button Create New File

![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/image_185bh83.png)

5. Right click to the **phpinfo.php** file and click edit. Then paste below code and click Save Changes

**Code :**

<?php

	phpinfo();

?>

![](https://storage.crisp.chat/users/helpdesk/website/30c43b4318b81000/image_1l4nco.png)

6. Now you can check the PHP version/module on the search engine by visit to your domain link eg: https://yourdomain.com/phpinfo.php