Set expose_php to Off in php.ini To Hide PHP Version Information on Web Server Itakda ang expose_php sa Sarado sa php.ini Upang Itago PHP Version Impormasyon sa Web Server

PHP (Hypertest Preprocessor) is a server-side HTML embedded scripting language that is very popular for web development. PHP (Hypertest Preprocessor) ay isang server-side na HTML-embed ang scripting wika na ito ay napaka-popular para sa mga web development. When PHP is running on a web server, each and every request to the web server will return the following line of header with PHP version information to the browser. Kapag ang PHP ay tumatakbo sa isang web server, ang bawat isa at ang bawat kahilingan sa web server ay babalik ang mga sumusunod na linya ng header sa PHP bersyon impormasyon sa browser.

X-Powered-By: PHP/[version] X-Powered-By: PHP / [bersyon]

The X-Powered-By header info is controlled by expose_php core php.ini directive. Ang X-Powered By-header info ay kinokontrol ng expose_php pangunahing php.ini nagtuturo. expose_php determines whether web server will report that PHP is being used to process the request, and what version of PHP is installed to every request. expose_php nagtatakda kung web server ay ulat na PHP ay ginagamit upang i-proseso ang kahilingan, at kung ano ang bersyon ng PHP ay na-install sa bawat kahilingan. expose_php is enabled by default, so the information is sent on each HTTP and HTTPS request. expose_php ay naka-enable sa pamamagitan ng default, kaya ang impormasyon ay naipadala sa bawat HTTP at HTTPS kahilingan.

While PHP is generally reliable and secure, older and outdated versions of PHP may contain security holes and bugs. Habang PHP ay maaasahan at ligtas, mas matanda pa at lumang bersyon ng PHP ay maaaring maglaman ng seguridad butas at bugs. Although there is no problem leaving PHP version info exposed, and enable expose_php is not classified as security risk, but malicious hackers looking for potentially vulnerable targets can use PHP version installed on a web server to identify a weakness. Kahit na walang problema Aalis PHP bersyon info napakita, at paganahin ang expose_php na ito ay hindi-uri-uri bilang seguridad panganib, ngunit malisyosong hackers naghahanap ng mga potensyal na masusugatan target ay maaaring gumamit ng PHP bersyon-install sa isang web server upang tukuyin ang isang kahinaan. By turning off expose_php, the existence and version of PHP is hidden, and help lower threat to attacks that rely on simple reconnaissance techniques to scan for vulnerable targets. Sa pamamagitan ng isara expose_php, ang buhay at bersyon ng PHP ay nakatago, at tulong na mas mababa pananakot sa atake na umaasa sa mga simpleng pamamaraan na pagmamanman sa kilos ng kaaway sa pag-scan para sa mga masusugatan pinupuntirya. Although websites not using SEO-optimized URL structures may still potentially been seen by human as running PHP from link location (eg index.php?variable=value), but bots and automated scripts from novice attackers may be fooled. Bagaman ang mga website na hindi gumagamit ng SEO-optimized na URL ay maaari pa rin structures potensyal na makikita ng mga tao na tumatakbo PHP mula sa link na lokasyon (hal. index.php? Variable = value), ngunit bots at automated script mula sa baguhan attackers ay maaaring fooled.

So it's recommended disable and turn expose_php off. Kaya ito ay inirerekomenda-disable at expose_php turn off. Webmasters can disable expose_php in the php.ini file, usually located in /etc, /usr/lib, /usr/local/lib or /usr/local/lib/php/: Webmasters ay maaaring hindi paganahin ang expose_php sa php.ini file, karaniwang matatagpuan sa / etc, / usr / lib, / usr / local / lib o sa / usr / local / lib / php /:

; Disable expose_php for security reasons ; Disable expose_php para sa seguridad
expose_php = Off expose_php = Off

Tip: Setting expose_php to Off in php.ini does not prevent or stop php_info() function from executing. Tip: expose_php-set sa Sarado sa php.ini ay hindi maiwasan o ihinto php_info () function mula sa Isinasagawa.

IMPORTANT : The page is machine translated and provided "as is" without warranty. MAHALAGA: Ang mga pahina ay makina isinalin at ibinigay "gaya ay" walang warranty. Machine translation may be difficult to understand. Machine translation ay maaaring maging mahirap na maintindihan. Please refer to Mangyaring tingnan ang original English article orihinal na Ingles na artikulo whenever possible. hangga't maaari.


Leave a Reply Mag-iwan ng isang Sumagot

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> Maaari mong gamitin ang mga ito tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Mag-subscribe sa mga puna tampok na ito ay hindi pinagana. To receive notification of latest comments posted, subscribe to Upang makatanggap ng paunawa ng mga pinakabagong comments-post, mag-subscribe sa My Digital Life Comments RSS feed Aking Digital Life Comments RSS feed or o register to receive magrehistro upang makatanggap ng new comments in daily email digest. mga bagong komento sa pang-araw-araw email digest.
Custom Search

New Articles Bagong Akda

Incoming Search Terms for the Article Papasok na Kataga sa Paghahanap para sa mga Artikulo

expose_php expose_php - -- cant disable expose_php cant disable expose_php - -- disable php version information huwag paganahin php bersyon impormasyon - -- expose_php +does not turn off expose_php + ay hindi magpapasara - -- hide php php.ini itago php php.ini - -- php.ini set index.php php.ini itakda index.php - -- to give --with-gd=shared in php.ini upang bigyan ng - with-gd = shared sa php.ini - --