You can view your server configuration by creating a phpinfo file. The phpinfo page will provide information about the server configuration, PHP version, installed modules, environment variables, OS information etc.

How to create a phpinfo page

Open the File Manager in your Hosting Control Panel, or connect to your server via SSH or FTP
Navigate to the folder where your website files are there. On shared hosting servers, it is usually /home/USERNAME/public_html and /var/www/html in VPS servers.
Create a new file: phpinfo-70ccde79-e6b8-497b-8ca4-8031a015fe3a.php
Edit the file, and save the following code inside it:

<?php echo phpinfo(); ?>

Once you've uploaded this file to your server, visit the page in your browser by entering example.com/phpinfo-70ccde79-e6b8-497b-8ca4-8031a015fe3a.php

We strongly recommend to delete this file after use, as it contains highly sensitive information

Was this article helpful?
Cancel
Thank you!