https://help.superhosting.bg/en/phpinfo.html
  • bg
  • en

Hosting, Domains, Cloud, Virtual Private Servers (VPS), Managed VPS, SSL Certificates

How to View My PHP Settings (Version, Directives, Modules)?

PHP
php info, phpinfo, php version

For the PHP directives there are system values set by default. You can get information about them by calling the phpinfo() function.

By using phpinfo you can view the PHP version, enabled PHP modules/extensions, server information, OS version, paths, HTTP headers and others.

You need to create a file with a .php extension such as sdhrd.php in a directory, accessible through web. Then write the following lines in it:

<?php
phpinfo();
?>

phpinfo

Open the newly created file in your browser.

Depending on where you have located it in your hosting account, write down the full web address to the file.

For example, if it is located in the public_html/dir/ directory, you should access:

http://mysupersite.com/dir/sdhrd.php

replace mysupersite.com with your domain name, dir with the directory name and sdhrd.php with the new file name.

info-iconNote: After the phpinfo file is no longer needed, it is better to delete it from your hosting account.

500px270px
SuperHosting.BG

Comments

Be the First to Comment!

Notify of
avatar
wpDiscuz
All rights reserved © 2005-2017 , www.superhosting.bg