From b794bace9bd7a479050cb839eae049ae42c2cbeb Mon Sep 17 00:00:00 2001 From: Sherif Ramadan <googleguy@php.net> Date: Tue, 15 Jan 2013 04:26:01 +0000 Subject: [PATCH] Updated expose_php ini setting to reflect affected changes in PHP 5.5.0 git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329148 c90b9560-bf6c-de11-be94-00142212c4b1 --- appendices/ini.core.xml | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/appendices/ini.core.xml b/appendices/ini.core.xml index 30548bf6c1..b0ee57ec54 100644 --- a/appendices/ini.core.xml +++ b/appendices/ini.core.xml @@ -303,14 +303,23 @@ <listitem> <para> Exposes to the world that PHP is installed on the server, which includes the - PHP version within the HTTP header (e.g., X-Powered-By: PHP/5.3.7). The PHP logo - guids are also exposed, thus appending them to the URL of a PHP enabled site - will display the appropriate logo + PHP version within the HTTP header (e.g., X-Powered-By: PHP/5.3.7). + Prior to PHP 5.5.0 the PHP logo guids are also exposed, thus appending them + to the URL of your PHP script would display the appropriate logo (e.g., <link xlink:href="&url.php;?=PHPE9568F34-D428-11d2-A769-00AA001ACF42">&url.php;?=PHPE9568F34-D428-11d2-A769-00AA001ACF42</link>). - This also affects the output of <function>phpinfo</function>, as when disabled, the PHP logo - and credits information will not be displayed. + This also affected the output of <function>phpinfo</function>, as when disabled, the PHP logo + and credits information would not be displayed. </para> - <para> + <note> + <para> + Since PHP 5.5.0 these guids and the <function>php_logo_guid</function> function + have been removed from PHP and the guids are replaced with data URIs instead. + Thus accessing the PHP logo via appending the guid to the URL no longer works. + Similarly, turning <parameter>expose_php</parameter> off will not affect + seeing the PHP logo in <function>phpinfo</function>. + </para> + </note> + <para> See also <function>php_logo_guid</function> and <function>phpcredits</function>. </para> </listitem>