1. Home
  2. Support
  3. Hosting
  4. PHP
  5. Create a phpinfo page

Create a phpinfo page

Checking the PHP version and its modules can be done easily using an info.php page which we will explain how to create in this guide.

What is an info.php file?

info.php is a small PHP script that you can run on a Linux server to parse information regarding the PHP version, and the respective modules that are installed on that server.

How do I create an info.php file?

1. Open a text editor such as notepad++.

2. Paste the following lines into your text editor


3. Select File > Save As.

4. Set the Save as type: to All types.

5. Save the file as info.php

6. Upload the file to your domain via the file manager

Visit the page in your web browser and you should se all the information about the server including the PHP version, and specific modules will be displayed within this page.

Was this article helpful to you? Yes No