How to create phpinfo.php file for check php settings on server

Now in days many of frameworks and Content management systems in market who required latest php versions and other settings like CURL, mod_rewrite, open_ssl, max_execution_time etc. on server. so we need phpinfo() function for check the php and server information. Today, i am telling you how to create phpinfo.php on server and how to run it.

Follow these steps:

  1. Open public_html directory on server with the help or cpanel or FTP.
  2. Now create new file phpinfo.php
  3. Put the code in file:
  4. Save the file
  5. Now run file with
  6. That’s it now you can see web page like this screenshot.

If you really like this post. Please Comment or share for others help with social buttons. You can more read useful articles


Add a Comment

Your email address will not be published. Required fields are marked *