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, 16:23:45

Author Topic: Need Help related to open_basedir  (Read 3440 times)

0 Members and 1 Guest are viewing this topic.

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Need Help related to open_basedir
« on: 2017-01-04, 20:25:09 »
Hello MR sir.

I need you help related to enable and disable of below function for a particular domain.

==> open_basedir restriction is in effect, please disable open_basedir restriction

Please help me to solve this problem.


here is sysinfo detail


sh /script/sysinfo
A. Control Panel:
   - Kloxo-MR: 7.0.0.b-2016120401
   - Web: hiawatha-10.4.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: vps.domain.ca
C. Services:
   1. MySQL: MariaDB-server-10.0.28-1.el6.x86_64
   2. PHP:
      - Installed:
        - Branch: php56u-cli-5.6.28-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.38-1.ius.el6
          * php56m-5.6.28-1.ius.el6
          * php70m-7.0.13-1.w6
      - Used: php56m-fpm
      - Multiple: disable
   3. Web Used: apache
     - Hiawatha: hiawatha-10.4.0-f.1.mr.el6.x86_64
     - Lighttpd: lighttpd-1.4.43-2.el6.x86_64
     - Nginx: nginx-1.11.6-1.el6.ngx.x86_64
     - Apache: httpd-2.2.31-1.mr.el6.x86_64
       - PHP Type: php-fpm_event
       - Secondary PHP: on
   4. WebCache: none
     - ATS: --uninstalled--
     - Squid: --uninstalled--
     - Varnish: --uninstalled--
   5. Dns: bind
     - Bind: bind-9.9.7-1.mr.el6.x86_64
     - DJBDns: --uninstalled--
     - NSD: --uninstalled--
     - PowerDNS: --uninstalled--
     - Yadifa: --uninstalled--
   6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
      - pop3/imap4: none
      - smtp: none
      - spam: bogofilter-1.2.4-1.el6.x86_64
   7. Stats: awstats
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1829       1626        202          0        205        822
   -/+ buffers/cache:        598       1230
   Swap:            0          0          0
E. Disk Space:
   Filesystem      Size  Used Avail Use% Mounted on
   /dev/vda1       9.8G  5.1G  4.3G  55% /


*** Process Time: 00:00:00:18.18868 (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: Need Help related to open_basedir
« Reply #1 on: 2017-01-04, 21:15:13 »
Add directories for 'Extra Basedir' in 'General Settings'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: Need Help related to open_basedir
« Reply #2 on: 2017-01-04, 21:35:37 »
i got the option but .

i just need to disable openbase_dir .

make it none .

Please guide.
« Last Edit: 2017-01-04, 22:16:54 by amitkumar »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Need Help related to open_basedir
« Reply #3 on: 2017-01-05, 03:37:30 »
It's not secure without openbase_dir.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: Need Help related to open_basedir
« Reply #4 on: 2017-03-23, 09:15:37 »
file_exists(): open_basedir restriction in effect. File(/home/nghi/builds/acellemail-2.2.0/storage/framework/sessions/fbc7ebb5bdcab31cd05a77b8b7b82205858d2b51) is not within the allowed path(s): (/home/admin/:/tmp/:/usr/share/pear/:/home/kloxo/client/admin/session/:/home/kloxo/httpd/script/:/home/kloxo/httpd/disable/:/home/microweb/songpleee/storage/framework/sessions/)

I am facing this error.

I have also added this path in extra base directory
/home/microweb/songpleee/storage/framework/sessions/

but still, i am getting this issue. it's a larval framework.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Need Help related to open_basedir
« Reply #5 on: 2017-03-23, 09:24:31 »
Is it for '/home/nghi/builds/acellemail-2.2.0/storage/framework/sessions' or '/home/microweb/songpleee/storage/framework/sessions'?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline amitkumar

  • Valuable Member
  • *
  • Posts: 121
  • Karma: +1/-1
  • Gender: Male
    • View Profile
    • webquicksolution
Re: Need Help related to open_basedir
« Reply #6 on: 2017-03-23, 09:44:09 »
fixed sir. :) i placed a wrong path in it.

Thank you so much for the support.

 


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

Page created in 0.032 seconds with 21 queries.

web stats analysis