What is phpinfo? How can I run it?

What is phpinfo?

PHPinfo is a function that returns information, in HTML form, about the PHP environment on your server.

How do I run phpinfo?

To run PHPinfo you must save the following code in a file on your computer using your text editor:

<?php phpinfo (); ?>

Upload the file to the /web/content folder for your domain. If your file is named phpinfo.php, then you will run PHPinfo by using your web browser to go to www.yourdomain.com/phpinfo.php.

See Also

For more information about phpinfo, see:

For more information on using FTP to transfer content to your website, see:

© 2015 Rackspace US, Inc.

Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License

See license specifics and DISCLAIMER