PHPINFO: Difference between revisions
Jump to navigation
Jump to search
Nicole Sharp (talk | contribs) No edit summary |
Nicole Sharp (talk | contribs) No edit summary |
||
| Line 36: | Line 36: | ||
?> | ?> | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== references == | |||
* [[wikibooks:PHP|<cite>Wikibooks</cite>: "PHP Programming"]] | |||
* [https://www.php.net/docs.php <cite>PHP</cite>: "Documentation"] | |||
[[category:webdevelopment]] | [[category:webdevelopment]] | ||
Revision as of 2026-04-09T22:30:56
Resources for configuring Personal Homepage Hypertext Preprocessor Info (PHPINFO).
- Wikibooks: "PHP Programming (Setup and Installation: How Do I Know My Setup Is Working?)"
- DreamHost Knowledge Base: "Viewing Your Site’s PHP Version and Settings"
- PHP: "PHPINFO"
security
Do not publicly expose the raw output of "phpinfo" and especially do not publicly expose the raw output of "INFO_VARIABLES". These outputs can include File Transfer Protocol (FTP) user names and Oracle My Structured Query Language (MySQL) database names that you may want to keep secret.
PHPINFO for Nicole Sharp’s Website
This is for internal use only and is not a public PHP page.
<?php phpinfo(INFO_GENERAL); phpinfo(INFO_CREDITS); phpinfo(INFO_CONFIGURATION); phpinfo(INFO_MODULES); phpinfo(INFO_ENVIRONMENT); # phpinfo(INFO_VARIABLES); phpinfo(INFO_LICENSE); # https://www.php.net/function.phpinfo.php /* Personal Homepage Hypertext Preprocessor Info (PHPINFO) for Nicole Sharp's Website. Copyright (C) 2026-04-09 Nicole Sharp https://www.nicolesharp.net/ Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License. https://www.creativecommons.org/licenses/by-sa/4.0/ This file uses PHP software, freely available from "https://www.php.net/software/". */ ?>