execute phpinfo func on the server

i ask my server provider why i can’t execute phpinfo() function on my server

they answered coz of security of our servers

are they right? phpinfo only is some returned texts…

yes, but it gives all different details that in combination with some other vulnerability can help a possible hacker.

Shared hosting providers are very paranoid about security because when server hacked it may affect 100s of clients. Calling phpinfo() is OK if it’s protected but admin can’t be sure you’ve protected it enough.