Page 1 of 1

Blesta webinstall error

Posted: Mon Aug 10, 2020 10:48 pm
by dension
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,

Re: Blesta webinstall error

Posted: Mon Aug 10, 2020 10:59 pm
by myVesta
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

Re: Blesta webinstall error

Posted: Mon Aug 10, 2020 11:35 pm
by dension
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.

Re: Blesta webinstall error

Posted: Tue Aug 11, 2020 9:23 am
by myVesta
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