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

388 views
Skip to first unread message

François

unread,
Feb 11, 2014, 11:40:59 AM2/11/14
to mailchimp-...@googlegroups.com
Hi,

I'm using Mailchimp lib : https://bitbucket.org/mailchimp/mailchimp-api-php

But, when I try to use it, requests return : curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when an open_base_dir is set

It looks like i'm not only with this issue.
I must set an open_base_dir, and in  < PHP5.5 you don't have safe_mode option.

What can we do to still use this package through composer ?

If I comment this line, it looks like everything works fine.

Thanks.

François

unread,
Feb 11, 2014, 11:42:30 AM2/11/14
to mailchimp-...@googlegroups.com

Colt

unread,
Feb 20, 2014, 3:12:43 PM2/20/14
to mailchimp-...@googlegroups.com
Hey François,

When it comes to that particular library it is not presently compatible with PHP 5.4+

We have passed this information along to our developers but we don't have a time frame on when they will have that library updated for newer versions of PHP.

For now though, that library will still function on boxes running earlier versions of PHP.
Reply all
Reply to author
Forward
0 new messages