By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,664 Members | 1,643 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,664 IT Pros & Developers. It's quick & easy.

CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or anopen_basedir

P: n/a
Can someone enlighten me to what's going on here.

I get the following warning:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION
cannot be activated when in safe_mode or an open_basedir is set in ...

php version: 4.4.7

What is strange is the same script works fine in a different directory

Any help, much appreciated.

J
Feb 19 '08 #1
Share this Question
Share on Google+
1 Reply


P: n/a
JahMic wrote:
Can someone enlighten me to what's going on here.

I get the following warning:

Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION
cannot be activated when in safe_mode or an open_basedir is set in ...

php version: 4.4.7

What is strange is the same script works fine in a different directory

Any help, much appreciated.

J
..htaccess and/or httpd.conf settings? What does phpinfo() show when
loaded from each directory?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Feb 19 '08 #2

This discussion thread is closed

Replies have been disabled for this discussion.