cancel
Showing results for 
Search instead for 
Did you mean: 

open_basedir restriction in effect. File(/etc/pki/tls/certs)

open_basedir restriction in effect. File(/etc/pki/tls/certs)

Hi all,

A have a Magento 2 Site. The site was working fine, needed to change to another server

It was on a cpanel and moved to a plesk.

Frontend works ok but not Admin nor the Rest API

 

I have this error:

Warning: is_dir(): open_basedir restriction in effect. File(/etc/pki/tls/certs) is not within the allowed path(s): (/var/www/vhosts/<domain>/:/tmp/) in /var/www/vhosts/<domain>httpdocs/loja/vendor/composer/composer/src/Composer/Util/RemoteFilesystem.php

 

I searched for this but found some info related to composer itself but i was wondering if this could be related to the change from cpanel to plesk

 

Any ideas on how to fix this ?

 

Thanks in advance

best regards

 

1 REPLY 1

Re: open_basedir restriction in effect. File(/etc/pki/tls/certs)