Question: is phpinfo a security risk?
Answer: The information revealed by the phpinfo() function poses a potential security risk, so we do not post it publicly. Hackers and other malicious actors could use the information from phpinfo() to plan an attack.