• bg
  • en

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

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

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:


Open the newly created file in your browser.

Settings and directives in the PHP configuration file (phpXX-fcgi.ini)

Settings and directives in the PHP configuration file (phpXX-fcgi.ini)

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:

replace 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.

All rights reserved © 2005-2019 ,