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. 2020-07-03, 14:26:01

Author Topic: how to add /usr/bin in open_basedir kloxo mr 7  (Read 1717 times)

0 Members and 1 Guest are viewing this topic.

Offline masud

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
how to add /usr/bin in open_basedir kloxo mr 7
« on: 2017-05-11, 06:49:04 »
i need to add /usr/bin/ in open_basedir.

this my sysinfo
Code: [Select]
A. Control Panel:
   - Kloxo-MR: 7.0.0.c-2017050104
   - Web: hiawatha-10.6.0-f.1.mr.el6.x86_64
   - PHP: php56s-5.6.30-2.ius.centos6 (fpm mode)
B. Plateform:
   - OS: CentOS release 6.9 (Final) x86_64
   - Hostname: one.myblueled.com
C. Services:
   1. MySQL: MariaDB-server-10.0.30-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.30-2.ius.centos6.x86_64
      - Used: --PHP Branch--
      - Multiple: disable
   3. Web Used: nginxproxy
     - Hiawatha: hiawatha-10.6.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.45-1.el6.x86_64
     - Nginx: nginx-1.13.0-1.el6.ngx.x86_64
     - Apache: httpd24u-2.4.25-3.ius.centos6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: off
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: djbdns
     - Bind: bind-9.9.9-1.mr.el6.x86_64
     - DJBDns: djbdns-1.05-17.4.mr.el6.x86_64
     - NSD: nsd-4.1.14-1.el6.x86_64
     - PowerDNS: pdns-4.0.3-1.el6.MIND.x86_64
     - Yadifa: yadifa-2.2.3-1.mr.el6.x86_64
   6. Mail: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - pop3/imap4: courier-imap-toaster-4.1.2-1.3.20.mr.el6.x86_64
      - smtp: qmail-toaster-1.03-1.3.56.mr.el6.x86_64
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. FTP: pure-ftpd
      - pure-ftpd: pure-ftpd-1.0.37-1.mr.el6.x86_64
   8. Stats: awstats
      - awstats: kloxomr-stats-awstats-7.6-1.mr.noarch
D. Memory:
             total       used       free     shared    buffers     cached
Mem:          1024        653        370         49          0        167
-/+ buffers/cache:        486        537
Swap:         1024         14       1009
E. Disk Space:
Filesystem      Size  Used Avail Use% Mounted on
/dev/simfs       75G   11G   65G  15% /

Thanks

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to add /usr/bin in open_basedir kloxo mr 7
« Reply #1 on: 2017-05-11, 07:26:46 »
Go to 'admin > general settings' and add '/usr/bin' to 'extra basedir'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline masud

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: how to add /usr/bin in open_basedir kloxo mr 7
« Reply #2 on: 2017-05-11, 07:50:44 »
i enter the '/usr/bin' to 'extra basedir' but now the page is empty like this

http://prntscr.com/f6h5pj

i added '/usr/bin' to 'extra basedir' with ' at the beginning and at the end

need your explanation, thanks

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to add /usr/bin in open_basedir kloxo mr 7
« Reply #3 on: 2017-05-11, 09:29:18 »
Nothing wrong when I tested on my server.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline masud

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: how to add /usr/bin in open_basedir kloxo mr 7
« Reply #4 on: 2017-05-11, 09:43:39 »
ok, i'll try again,

is command "sh /script/cleanup" for changing kloxo to the default setting? i dont know much about commands used in kloxo, Could you give some me reference about command list often used in kloxo especially for kloxo mr 7. thanks

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to add /usr/bin in open_basedir kloxo mr 7
« Reply #5 on: 2017-05-11, 10:16:22 »
Just try 'sh /script/cleanup'.

BTW, no reason to add '/usr/bin' to basedir.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline masud

  • Junior Member
  • *
  • Posts: 12
  • Karma: +0/-0
    • View Profile
Re: how to add /usr/bin in open_basedir kloxo mr 7
« Reply #6 on: 2017-05-11, 10:47:06 »
i've installed wp-db manager plugin. and it needs location of mysql and mysqldump, i have entered the right directory but still it doesn't work. finally i got

hxxps://www.hacksparrow.com/wp-dbmanager-error-mysql-dump-path-does-not-exist-please-check-your-mysqldump-path-under-db-options.html

that suggest to add usr/bin in open_basdir.

anyway thank for your explanation. i'll run sh /script/cleanup and try again

thanks

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: how to add /usr/bin in open_basedir kloxo mr 7
« Reply #7 on: 2017-05-11, 11:33:43 »
Look like 'wp-dbmanager' using commandline where this feature already disable (you see 'disabe functions' in 'php configures') for security reason.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


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

Page created in 0.078 seconds with 23 queries.

web stats analysis