MainWP Community

Best way to change cURL Timeout

My default is 60 so I want to increase this on my Dashboard…but failing to find the best way to do this for my site.

@graceatwork cURL Time out is a PHP variable that can be set either within the php.ini or user.ini file or from within your wp-config.php file by adding this line.

ini_set(“default_socket_timeout”, 300);

5 Likes

Prefect, only thing I had to change though was the double quote to single…but I’m in business now!

2 Likes

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.