0
votes

Here is the following error:

> PHP Warning – yii\base\ErrorException file_exists(): open_basedir restriction in effect.
> File(/tmp/Google_Client/ad/xxxxxxxxxxxx.lock) is
> not within the allowed path(s):
> (/home/admin/web/xxxx.xxxxx.co.in/public_html:/home/admin/tmp)

Changed code in .htaccess like this

php_value allow_url_fopen On
php_value open_basedir Null

The same error is throwing. Even added ini_set('allow_url_fopen','on'); in config file.

I don't have access with my host to the php.ini file, so how can I override these settings? I've tried changed the settings from .htaccess file and changed in web/index.php nothing is working.

Can anyone help me out with this.