How to fix? This error showing

you need to check open base dir for php and add the path to get it allowed.

or move the install folder into public_html.

Install folder is in public_html


Hello @damiko193,

The first thing you should do is to know why Chevere is trying to use install outside public_html dir, that install should be inside public_html as @Raphael pointed out a few posts above.

If you can’t change the install file/dir for whatever reason, you should add /home/admin/web/ to open_basedir directive.

The easiest way would be to add it to file .user.ini inside public_html dir but you can’t do that because the php-fpm template defines open_basedir like this:

php_admin_value[open_basedir] = /home/%user%/.composer:/home/%user%/web/%domain%/public_html:/home/%user%/web/%domain%/private:/home/%user%/web/%domain%/public_shtml

As it is defined using php_admin_value, you can’t override it in ini files so you must create a php-fpm template, modify it to suit your needs, assign that backend template to your site and rebuild it.

More info here:

I’m always talking about an installation with nginx+php-fpm, if you are also using apache, I don’t know if you can solve it using .htaccess file or any other method.

If you need help to create a template, let us know but check very well all the info we have posted.

Good luck,

By default we use apache2 + php-fpm so .htaccess will not work either…

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.