I have an open_basedir setting in my php.ini file, and when I send url I have a Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in ..../mashape/unirest-php/src/Unirest/Reguest.php:430. With this warning a have an empty header_information, but in send() function, answer is cut, and part of data has been lost. How to fix this without changing open_basedir settings?
I have an open_basedir setting in my php.ini file, and when I send url I have a Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when safe_mode is enabled or an open_basedir is set in ..../mashape/unirest-php/src/Unirest/Reguest.php:430. With this warning a have an empty header_information, but in send() function, answer is cut, and part of data has been lost. How to fix this without changing open_basedir settings?