Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

realpath(): open_basedir restriction in effect. Problem

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
feezioxiii
Posts: 1
Joined: Wed Aug 30, 2017 5:02 pm

realpath(): open_basedir restriction in effect. Problem
  • Quote

Post by feezioxiii » Wed Aug 30, 2017 5:23 pm

I met this problem today while installing blesta (https://www.blesta.com/)

Code: Select all

realpath(): open_basedir restriction in effect. File(/usr/lib/php5/20121212) is not within the allowed path(s): (/home/admin/web/domain.com/public_html:/home/admin/tmp) on line 2 in /home/admin/web/domain.com/public_html/app/app_model.php
You guys have any idea for this? I've tried config the basedir like suggested:
viewtopic.php?t=6747

Code: Select all

php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/usr/lib/php5/20121212
The problem still appears, even I disable open_basedir by 'none' still the same, any idea?
And please note that I'm using self-hosted on my VPS only. Not intended to share with anyone.

*Using Ubuntu 14.04, Php 5
Top

mehargags
Support team
Posts: 1096
Joined: Sat Sep 06, 2014 9:58 pm
Contact:
Contact mehargags
Website Skype

Os: Debian 8x
Web: apache + nginx
Re: realpath(): open_basedir restriction in effect. Problem
  • Quote

Post by mehargags » Wed Aug 30, 2017 6:17 pm

you can try to install with

php_admin_value open_basedir /home/<VestaCPusername>:/tmp:/etc

after installation you can try and remove the three directories one by one and see if Blesta works without each one of them.
Top

2kreative
Posts: 5
Joined: Sun May 25, 2014 3:04 pm

Re: realpath(): open_basedir restriction in effect. Problem
  • Quote

Post by 2kreative » Sat Jan 27, 2018 8:50 pm

The solution is to install Ioncube loader, and that takes care of that particular error in Blesta :)
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password