How to create PHPINFO.PHP page? – Betheme Support Center

How to create PHPINFO.PHP page?

phpinfo() page is very useful to check the current PHP information of your server. While Betheme > System Status displays the LOCAL values, this page will display MASTER limits as well, what in some cases is crucial. Using information from this page, you can check many important things like: PHP version, active server extensions, configurations and much more.

To create file, please follow the steps below:

  1. Log-in to FTP using any file manager, like FileZilla
  2. Navigate to website's root directory. Usually it is public_html or httpdocs
  3. Create a new file named phpinfo.php
  4. Open created file and add the following lines:

  5. Save edits.

Such created file is ready to display server configuration. To open file, please type url http://domain.com/phpinfo.php in browser bar. The file supposed to look like

Now, you can search for specific module or resource limit using: CTRL+F (Windows) or CMD+F (Mac).
Try it now