How to Create a PHP INFO file on my account?

You are reading this article as you want to know howto create a phpinfo file on your hosting account.

Installing a phpinfo file on your hosting is a security risk as it exposes server information to the public so we advise that if you add a PHPinfo file to your server, lock it down correctly or delete it after use.

1. Create a file on your site called phpinfo.php (or another preferred name)
2. In the file add the code below

<?php
phpinfo()
?>

3. Upload file to your site like http://yoursite.com/phpinfo.php
4. Browse to http://yoursite.com/phpinfo.php and view the PHP information
5. For security, DELETE the phpinfo.php when you are finished.

  • phpinfo, php info, php versions
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I want to transfer my domains/hosting and/or email to JUCRA Digital

You are reading this article because you would like us to take over your domain, hosting and/or...

What DNS Nameservers should I use?

For your hosting at JUCRA Digital, please use the following nameservers. DNS NAME IP...

Why is my site running slow? Understanding CloudLinux LVE Resource Usage

Sometimes we are asked "why is my site running slow" or "why am I getting kicked out of my site"...

My site won't run on php 7+. What versions of php do you support?

You are reading this article because you have a website on our servers and when you switch to PHP...

Enabling HSTS in Cpanel

ABOUT HSTS HTTP Strict Transport Security (HSTS) instructs web browsers to only use secure...