PHPINFO: Difference between revisions

From NikkiWiki
Jump to navigation Jump to search
No edit summary
Line 31: Line 31:
Content in this file is available under the Creative Commons Attribution-ShareAlike (CC BY-SA) 4.0 International Public License.
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/
https://www.creativecommons.org/licenses/by-sa/4.0/
This page uses PHP software, freely available from "https://www.php.net/software/".
This file uses PHP software, freely available from "https://www.php.net/software/".
*/
*/



Revision as of 2026-04-09T18:42:04

Resources for configuring Personal Homepage Hypertext Preprocessor Info (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/".
*/

?>