How to hide apache2handler in phpinfo page?

kalaj

Verified User
Joined
Jun 13, 2007
Messages
20
I find my phpinfo() will show some info like apache2handler, how to hide it for security reason?
 
phpinfo is a built-in php function.

You can either write your own function, or call it through some kind of wrapper that will cull out whatever you don't want shown.

Or rewrite the relevant section of PHP and recompile. That's what open source is all about :).

Jeff
 
Thanks, Jeff. I think first one is much easy, but I don't got a idea :(
 
My point is simply that phpinfo is a php function; rewriting it is really not within the realm of what DirectAdmin does. Perhaps I should move the thread to Off-Topic Discussion?

Jeff
 
Back
Top