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-03-29, 00:44:11

Author Topic: Setting Open Basedir gagal  (Read 3995 times)

0 Members and 1 Guest are viewing this topic.

Offline agssbuzz

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Setting Open Basedir gagal
« on: 2016-06-24, 11:43:26 »
Halo..

Saya coba setting Open Basedir lewat general setting kok gagal yah, direktori yang saya tambahkan tidak masuk list open basedir. Sudah saya coba config manual di "/opt/configs/php-fpm/tpl/php53-fpm-pool.conf.tpl" juga tidal ngefek.

[root@xeon1 ~]# sh /script/sysinfo
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 (cgi mode)
B. Plateform:
   - OS: CentOS release 6.8 (Final) x86_64
   - Hostname: xeon1.buzzwap.us
C. Services:
   1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php54-cli-5.4.45-1.ius.el6.x86_64
      - Used: --PHP Branch--
      - 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: httpd-2.2.31-1.mr.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:         15906      15049        856         31        342      13456
   -/+ buffers/cache:       1250      14656
   Swap:         1023          0       1023
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/sda2       1.8T  136G  1.6T   8% /


*** Process Time: 00:00:00:01.1639 (dd:hh:mm:ss:xxxxxx) ***

* Note: run 'sh /script/sysinfo -y' if you want run 'fix-service-list' also
        (importance after Kloxo-MR update)

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Setting Open Basedir gagal
« Reply #1 on: 2016-06-24, 14:22:03 »
Ya. Karena di-disable.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline agssbuzz

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Setting Open Basedir gagal
« Reply #2 on: 2016-06-24, 14:32:31 »
Ya. Karena di-disable.

cara enable nya gimana pak ? saya lampirkan phpinfonya.. saya ingin menambahkan direktori /usr/bin/


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Setting Open Basedir gagal
« Reply #3 on: 2016-06-24, 14:48:05 »
Coba lihat di '/usr/local/lxlabs/kloxo/httpdocs/driver/pserver/phpini__synclib.php'. Ubah:
Code: [Select]
// $extrabasedir = $input['extrabasedir'] ke
Code: [Select]
$extrabasedir = $input['extrabasedir']
« Last Edit: 2016-06-24, 14:50:13 by MRatWork »
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline agssbuzz

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Setting Open Basedir gagal
« Reply #4 on: 2016-06-24, 15:00:14 »
Coba lihat di '/usr/local/lxlabs/kloxo/httpdocs/driver/pserver/phpini__synclib.php'. Ubah:
Code: [Select]
// $extrabasedir = $input['extrabasedir'] ke
Code: [Select]
$extrabasedir = $input['extrabasedir']

sudah dilakukan pak, tapi masih belum berubah

Offline agssbuzz

  • Junior Member
  • *
  • Posts: 28
  • Karma: +0/-0
    • View Profile
Re: Setting Open Basedir gagal
« Reply #5 on: 2016-06-24, 17:54:37 »
Solve pak...

saya edit bagian ini
Code: [Select]
/usr/local/lxlabs/kloxo/httpdocs/driver/pserver/phpinilib.php
trus uncomment ini pak

Code: [Select]
$this->__var_disable_openbasedir = (isset($this->getParentO()->webmisc_b->disable_openbasedir)) ?
$this->getParentO()->webmisc_b->disable_openbasedir : null;

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix

Page created in 0.027 seconds with 18 queries.

web stats analysis