Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-29, 01:45:30

Author Topic: Disable expose_php diaman yah?  (Read 2236 times)

0 Members and 1 Guest are viewing this topic.

Offline masnggakdiajak

  • Valuable Member
  • *
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Disable expose_php diaman yah?
« on: 2016-06-27, 05:17:45 »
hallo mimin, dan teman2 semua,

mau tanya kalau disable expose_php di mana yah? ada yang taukah mungkin bisa bantu  :)

saya coba edit di
/etc/php.ini saya ubah expose_php menjadi Off
/opt/php54s/etc/php.ini saya ubah expose_php menjadi Off
/opt/php54m/etc/php.ini saya ubah expose_php menjadi Off

terus saya jalankan sh /script/restart-web
saya cek kembai tapi versi php masih muncul saya cek di https://securityheaders.io di bagian X-Powered-By   PHP/5.4.45
Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016062202
   - Web: hiawatha-10.3.0-f.1.mr.el6.x86_64
   - PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: egov.co.id
C. Services:
   1. MySQL: MariaDB-server-10.0.26-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
        - Multiple:
          * php52m-5.2.17-102.mr.el6
          * php53m-5.3.29-1.ius.el6
          * php54m-5.4.45-1.ius.el6
          * php55m-5.5.29-1.ius.el6
          * php56m-5.6.13-1.ius.el6
      - Used: php54m-fpm
      - Multiple: disable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.3.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.39-3.el6.x86_64
     - Nginx: nginx-1.11.1-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.20-3.ius.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: nsd
     - Bind: --uninstalled--
     - DJBDns: --uninstalled--
     - NSD: nsd-4.1.10-1.mr.el6.x86_64
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: package courier-toaster is not installed
      - smtp: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:         15786      15123        663        115        204      13408
   -/+ buffers/cache:       1510      14276
   Swap:         7959          2       7957
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/mapper/vg_egov-lv_root
                          50G   18G   29G  39% /

Thanks

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Disable expose_php diaman yah?
« Reply #1 on: 2016-06-27, 06:49:16 »
File php.ini yang ada di /opt/php??m/custom.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline masnggakdiajak

  • Valuable Member
  • *
  • Posts: 126
  • Karma: +0/-0
    • View Profile
Re: Disable expose_php diaman yah?
« Reply #2 on: 2016-06-27, 07:40:32 »
oke makasih om,  :)

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.029 seconds with 22 queries.

web stats analysis