[wp-trac] [WordPress Trac] #37700: Warning: curl_exec() has been disabled for security reasons

WordPress Trac noreply at wordpress.org
Wed Aug 17 22:10:40 UTC 2016


#37700: Warning: curl_exec() has been disabled for security reasons
--------------------------+-----------------------------
 Reporter:  Ipstenu       |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  HTTP API      |    Version:  4.6
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Some installs now use cURL when they didn't before following 4.6

 https://wordpress.org/support/topic/warning-curl_exec-has-been-disabled-
 for-security-reasons?replies=13

 As Otto said:

 > Additionally, the new Requests_Transport_cURL class does indeed check
 for function_exists('curl_exec') before attempting to use it, so it seems
 likely that your host is using suhosin or some other means of disabling
 functions which doesn't cause PHP to properly report that function as
 disabled.

 Also some Jetpack folks have reported it and it doesn't seem that they
 rolled back.

 I don't know if there's a better check we can do for this.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37700>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list