mailin-api/mailin-api-php

curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_basedir is set

tplessis opened this issue · 2 comments

Hi,

Everything is in the title : The option CURLOPT_FOLLOWLOCATION cannot be set when open_basedir is activated.

Maybe a solution here :
http://php.net/manual/en/function.curl-setopt.php#95027

Regards,

Hello,

Thank you for contacting us and we are sorry for late reply.
You can remove CURLOPT_FOLLOWLOCATION from the wrapper or download our latest API V2 wrapper, which is up-to-date.

Regards,
SendinBlue Team

When using composer, there is no way to tell the autoloader to use the V2 code located in the V2.0 directory, and this issue occurs again on some hosts.

The proposed solution (changing library code) is not a convenient solution, as the local changes will be lost after an update.

Please consider to release a 2.0 version of this package.