Search Our Database

How to check php information for your hosting server

Last updated on |
by

Step 1: First, create a plain text file and name it as ‘phpinfo.php’, add the following lines into the plain text.

<?php phpinfo(); ?>

Step 2: Save and upload the file to your hosting or server directory, example path as below:

Windows Server:

c:\inetpub\wwwroot\domain.com\httpdocs\

Linux Server:

/home/user/domains/domain.com/public_html/

Step 3: Browse to your domain path which containing the uploaded file eg. http://domain.com/phpinfo.php and you can view the php information including the php module enabled the hosting server.