How do I view the php information page?

Create a page named phpinfo.php and insert the below code into it. Pull this page up in your browser and this will show the php configuration on the server.

// Show all information, defaults to INFO_ALL
phpinfo();

// Show just the module information.
// phpinfo(8) yields identical results.
// phpinfo(INFO_MODULES);

?>

  • 0 A felhasználók hasznosnak találták ezt
Hasznosnak találta ezt a választ?

Kapcsolódó cikkek

Protecting the php.ini file from being viewed

To prevent people viewing your php.ini file via a browser, a few lines need to be pasted into...

How do I change my upload_max_filesize?

Locate the php.ini file in the folder your upload script resides in. If none exists, create a...

How can I execute php code as .htm or .html files?

In your .htaccess file, insert this line of code: AddType application/x-httpd-php5 .php .html

Do you support mod_php?

Due to security precautions, we currently do not have, or have plans to have, a system with mod_php.

How do I enable catchall (default email address)?

How do I enable catchall (default email address)? 1. Log in to your cPanel 2. In the Mail...