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
    PHP
  • PHP Manager by SuperHosting
    In cPanel you can change the PHP settings for all hosting plans offered by SuperHosting.BG. You can change the PHP version, enable or disable PHP modules and change PHP directives. This... »
  • PHP Modules (PHP Extensions)
    PHP modules are extensions mostly written in C language. They can be compiled with PHP to enable static loading (as part of the binary file) or dynamic loading (with the... »
  • How to Install and Use a PEAR Package?
    To start using a PEAR Package, first install it into your hosting account and then enable it for the PHP application/script. Installing a PEAR Package Automatic Installation in cPanel PEAR Packages are automatically... »
  • PEAR Packages
    PEAR (PHP Extension and Application Repository) is a framework and distribution system for reusable PHP components. PEAR packages are bundles of files written in PHP that can be embedded into PHP applications. PEAR packages... »
  • Using Custom php.ini File for PHP (cli) via SSH
    While you are working with PHP in command mode, the php command automatically runs the PHP CLI binary file corresponding to the default PHP version. To view a list with all PHP CLI... »
All rights reserved © 2005-2017 , www.superhosting.bg