realpath(): open_basedir restriction in effect. Problem
-
- Posts: 1
- Joined: Wed Aug 30, 2017 5:02 pm
realpath(): open_basedir restriction in effect. Problem
I met this problem today while installing blesta (https://www.blesta.com/)
You guys have any idea for this? I've tried config the basedir like suggested:
viewtopic.php?t=6747
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
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
viewtopic.php?t=6747
Code: Select all
php_admin_value open_basedir %docroot%:%home%/%user%/tmp:/usr/lib/php5/20121212
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
-
- Support team
- Posts: 1096
- Joined: Sat Sep 06, 2014 9:58 pm
- Contact:
- Os: Debian 8x
- Web: apache + nginx
Re: realpath(): open_basedir restriction in effect. Problem
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.
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.
Re: realpath(): open_basedir restriction in effect. Problem
The solution is to install Ioncube loader, and that takes care of that particular error in Blesta :)