MRatWork Forum by Mustafa Ramadhan - Setting Open Basedir gagal

Sponsor:
Server and Web Integrator
Link:
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:

MRatWork Forum | Please login or register. | 2017-11-07, 20:55:28

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Setting Open Basedir gagal

« previous next »

- Print

Pages: [1] Go Down

### Author Topic: Setting Open Basedir gagal (Read 1159 times)

0 Members and 1 Guest are viewing this topic.

#### agssbuzz

- Junior Member
- Posts: 28
- Karma: +0/-0

##### 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)
Logged

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: Setting Open Basedir gagal

« Reply #1 on: 2016-06-24, 14:22:03 »
Ya. Karena di-disable.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### agssbuzz

- Junior Member
- Posts: 28
- Karma: +0/-0

##### Re: Setting Open Basedir gagal

« Reply #2 on: 2016-06-24, 14:32:31 »
Quote from: MRatWork on 2016-06-24, 14:22:03

> Ya. Karena di-disable.

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

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### 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 »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### agssbuzz

- Junior Member
- Posts: 28
- Karma: +0/-0

##### Re: Setting Open Basedir gagal

« Reply #4 on: 2016-06-24, 15:00:14 »
Quote from: MRatWork 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']

sudah dilakukan pak, tapi masih belum berubah
Logged

#### agssbuzz

- Junior Member
- Posts: 28
- Karma: +0/-0

##### 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;

Logged

- Print

Pages: [1] Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- Setting Open Basedir gagal

Top 10 Social Networking: Facebook Twitter LinkedIn Pinterest Google Plus Tumblr Instagram VK Flickr Vine

..:: Monetize Your Website with ylliXmedia ::.. ..:: Online Advertising that Sale Anything with ylliXmedia ::..

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.048 seconds with 17 queries.

Mirror created by MasterkinG32.CoM