mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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
This commit is contained in:
parent
52007c8545
commit
b794bace9b
1 changed files with 15 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue