4

Viewing your site's PHP version and settings

 2 years ago
source link: https://help.dreamhost.com/hc/en-us/articles/214895287
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Overview

The PHP language has a special built-in function called phpinfo() that retrieves information about the PHP environment used on your site.

You can view this information by creating a phpinfo.php file and uploading it to your site. When viewed in a browser, you will see details about the PHP installation for the specific website.

This includes information about:

  • the PHP version
  • PHP compilation options and extensions
  • server information and environment (if compiled as a module)
  • the PHP environment
  • OS version information, paths, master and local values of configuration options
  • paths
  • master and local values of configuration options
  • HTTP headers, and
  • the PHP License.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK