Go Back   Cloud Computing > Support > PHP Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-11, 01:29
BOD Member
 
Join Date: Dec 2010
Posts: 170
Default Hide The PHP Version

Hello,
I want to hide the PHP version to remote requests.
Is it possible technically? If yes, then please let me know the steps.
Reply With Quote
  #2 (permalink)  
Old 09-21-11, 04:56
Moderator
 
Join Date: Nov 2010
Posts: 476
Default

In order to prevent PHP from exposing the fact that it's installed on the server, by adding to the web server header we require to locate in php.ini the variable expose_php and turn it off.
By default expose_php is set to ‘On’
In your php.ini locate the line containing expose_php On and set it to Off ;
expose_php = Off
After doing these modifications PHP will no longer add its signature to the web server header. Doing this, will not make your server more secure but, it will only prevent remote hosts to easily find out that you have PHP installed on the system and what version you are running.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 01:18.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.