Most people would probably not require this so this is best addressed via a plugin such as Lester Chan’s WP Serverinfo: https://ww.wp.xz.cn/plugins/wp-serverinfo/
Thanks for the fast reply and the link –
As time moves on, WordPress and all the available plugins and themes become more and more complex (meaning more conflicts). I don’t know anyone who can install and configure WordPress from scratch without significant experience, a hundred or more hours of reading, or professional support.
I personally support 20+ WordPress sites for clients, and 5 of my own, all on different hosts.
I don’t see how adding phpinfo(); and mysqli_get_server_info(); would add any significant overhead, or security issues.
It would be much smaller and far more useful than “Hello Dolly” …
Moderator
Jan Dembowski
(@jdembowski)
Forum Moderator and Brute Squad
I don’t know anyone who can install and configure WordPress from scratch without significant experience, a hundred or more hours of reading, or professional support.
Really? I usually just install WordPress on a straight Ubuntu LTS distribution. Except for when I went to nginx I hardly ever even look at my server configs. If that were the case for most users then these forums would be even busier.
I don’t see how adding phpinfo(); and mysqli_get_server_info(); would add any significant overhead, or security issues.
It’s not at all about overhead, it’s about use cases usually. Getting that added information is easily accomplished via a plugin. Most users would not wish to see or care about the inner workings of their PHP (how many pages is phpinfo()?)
Just because an idea is a good one in an edge case doesn’t necessarily mean it fits in the WordPress core instead of via an add-on plugin.