Re: Can phpinfo() be disabled?
| From: | Rasmus Lerdorf | Date: | Tue, 24 Jul 2001 15:44:15 +0000 |
| Subject: | Re: Can phpinfo() be disabled? | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8483@lists.php.net to get a copy of this message | ||
> Does anybody know how to disable php build-int function: phpinfo()? Or, it
> cannot be disabled?
> Because this function display so much information about the server to
> others.
It only displays this if you call the function, and every bit of
information is available through other means anyway so I don't see you
gaining anything by turning it off. But sure, you can disable it by
putting:
disable_functions = phpinfo
In your php.ini file.
-Rasmus