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

WordPress Trac noreply at wordpress.org
Fri Aug 19 10:23:06 UTC 2016


#37700: Warning: curl_exec() has been disabled for security reasons
--------------------------------+-----------------------
 Reporter:  Ipstenu             |       Owner:  dd32
     Type:  defect (bug)        |      Status:  reopened
 Priority:  normal              |   Milestone:  4.6.1
Component:  External Libraries  |     Version:  4.6
 Severity:  normal              |  Resolution:
 Keywords:  fixed-major         |     Focuses:
--------------------------------+-----------------------

Comment (by Whitegoodshelp):

 I also had an issue with 4.6 update stopping Akismet from working and
 removing curl_exec from my php.ini file fixed the problem.

 However, my tech support at my hosting company looked into this for me and
 successfully re-disabled curl_exec without the Wordpress issue recurring
 by simply adding the disable function curl_exec to all the php.ini files
 on the server. It seems Wordpress wasn't looking at the php.ini file I
 edited and looked at a different one.

 Here's what they said in case it helps -

 "I believe that due to the different php.ini files in use on the server,
 exactly where the call is being made by
 WordPress has caused confusion. The /etc/php.ini file is the global PHP
 settings on the server. The php.ini files in the /opt/plesk/php/
 directories are the php.ini files for each specific version of PHP that
 Plesk uses. The php.ini file in the document root is the WordPress
 specific php.ini file. It looks as though WordPress checks the global
 php.ini settings and not just its own specific php.ini settings for this
 check."

 Andy

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


More information about the wp-trac mailing list