curl_setopt():设置open_basedir时无法激活CURLOPT_FOLLOWLOCATION

I am using .php files to send OTP messages for my app. When I hosted these files on my local machine, everything worked fine. Now, I have hosted these files on hostinger, when I call one of these files I get a response saying

curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir 
   is set in /home/u5050****/public_html/scbapp/smsauth/***sms-api.php on line 39

Please guide.