US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 09-19-2012, 10:15 AM   #1
Junior Member
 
Join Date: Sep 2012
Posts: 3
brtk is on a distinguished road
Default Disable showing PHP version - PHP expose

Hello,

How I can globally (or for specified user) disable showing php version (expose_php = Off in php.ini).

% curl -I XXXXX
HTTP/1.1 200 OK
Date: Wed, 19 Sep 2012 07:07:06 GMT
Server: Apache
X-Powered-By: PHP/5.3.17-1~dotdeb.0
X-Pingback: XXXXXX
Vary: Accept-Encoding
Content-Type: text/html; charset=UTF-8
brtk is offline   Reply With Quote
Old 09-19-2012, 08:56 PM   #2
ISPsystem team
 
slava's Avatar
 
Join Date: May 2008
Location: ISPsystem
Posts: 588
slava is on a distinguished road
Default

Hello,
Edit php.ini as you need in /etc/php5/ folder
slava is offline   Reply With Quote
Reply

Tags
expose php, php version, security

Thread Tools

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 01:23 PM.