Panduan Cara Mengecek Informasi rGuide on How to Check PHP Information on Website Hosting ServersPHP pada Server Hosting Website

Follow these steps to find out PHP information through cPanel.


2. Once in cPanel, use the search field to find the Select PHP Version feature.


3. You will be redirected to the PHP Selector page. In the Current PHP Version section, you can see the PHP version supported by your hosting server.


Steps to Check PHP Information with phpinfo.php File

You can also view PHP information by creating a phpinfo.php file in the hosting directory. Follow these steps.

1. Login to your cPanel by typing domain/cpanel in your browser URL. Example: namadomain.com/cpanel


2. Once in cPanel, use the search bar to find the File Manager feature.


3. After entering the File Manager, you can go to the public_html directory. Then, create a new file in the public_html directory by clicking +File in the upper left corner.


4. A New File pop-up will appear, please fill in the New File Name column with phpinfo.php. Meanwhile, the New file will be created in column contains /public_html. To create the file, click the Create New File button.



5. You have successfully created the phpinfo.php file. Right-click the phpinfo.php file and select the Edit option.



6. Inside the phpinfo.php file fill in the following code:

1
2
3
4
5
<?php
 
phpinfo();
 
?>

To save the code in the file, click the Save Changes button.


7. Type namadomain/phpinfo.php into your browser. The full PHP information page will be displayed.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.