faqts : Computers : Programming : Languages : PHP : Installation and Setup : INI File

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

6 of 19 people (32%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Does setting expose_php to Off in php.ini disallow the phpinfo() function to run?

Oct 9th, 2006 10:18
Matthew Wilkinson, Tom Anderson,


No, this does not prevent php_info() from executing, but it stops PHP
from sending the
X-Powered-By: PHP/[version]
header to the browser. This configuration option does nothing more than
that.