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:
- Open public_html directory on server with the help or cpanel or FTP.
- Now create new file phpinfo.php
- Put the code in file:
- Save the file
- Now run file with yourserver.com/phpinfo.php
- 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 phpcoder.org.