Open_basedir opencart

Help me please.
Something is wrong with open_basedir

opencart 2.3
Server error
AH01071: Got error ‘PHP message: PHP Warning: is_file(): open_basedir restriction in effect. File(/home/admin/web/…/…/vendor/autoload.php) is not within the allowed path(s): (/home/admin/web/ in /home/admin/web/ on line 70\n’

open_basedir (<?php phpinfo(); ?>)


/system/startup.php - line 70
// Autoloader
if (is_file(DIR_SYSTEM . ‘…/…/vendor/autoload.php’)) {
require_once(DIR_SYSTEM . ‘…/…/vendor/autoload.php’);

We do NOT suggest to run anything under a admin user. Please create a new, unprivleged user. Then try again to install opencart and check, if the issue still occures.

Did as you said, the problem remains.

It seems to include files in


And this path is not in the open base dir

How did you install open-chart?

I run only opencart as dislike wordpress, never had any issue with open_basedir on Hestia and run, and on standalone nginx on 2 sites and apache/nginx on another and still works, each are on separate vps.

You need to check your hestia template files, copy the web/php templates and make your own adding paths or disable open_basedir