Blesta webinstall error

Post Reply
dension
Posts: 5
Joined: Sat Aug 08, 2020 12:50 pm

Hi,

I would like to install Blesta to my website hosted by myVesta.

I tried APACHE2 conf's: PHP-FPM-73, PHP-FPM-74, default, hosting, PHP-FPM-73-public but the error is same:

Code: Select all

realpath(): open_basedir restriction in effect. File(/home/S********t/web/ugyfelkapu.s********t.hu) is not within the allowed path(s):
(/home/S********t/web/ugyfelkapu.s********t.hu/public_html:/home/S********t/tmp:/bin:/usr/bin:/usr/local/bin:/var/www/html:/tmp:/usr/share:/etc/phpmyadmin:/var/lib/phpmyadmin:/etc/roundcube:/var/log/roundcube:/var/lib/roundcube)
Anybody can help me? I do not what is the probelem. I tried to change Proxy template too from hosting-firewall to hosting but the results same.

Pls help me.

Bestregards,
User avatar
myVesta
Site Admin
Posts: 932
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Edit /etc/php/7.x/fpm/pool.d/ugyfelkapu.s********t.hu.conf
find open_basedir line
remove /public_html
(literally remove just "/public_html" in open_basedir line)

restart fpm:

Code: Select all

service php7.x-fpm restart
7.x is of course your chosen php version, probably 7.3
dension
Posts: 5
Joined: Sat Aug 08, 2020 12:50 pm

THX! It is works! But this error is not global error if someone want to instal example Joomla, Blesta, Wordpress etc..? Because this fix fixed local error.
User avatar
myVesta
Site Admin
Posts: 932
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

Not global because it's very rare that CMS want to look folder one level backward.
For Laravel we have separated template - viewtopic.php?f=19&t=53
Post Reply