• Categories
    • PHP
    • phpMyAdmin
    • PHPMailer
    • FFMpeg
    • PHPEXcel
    • PHPDoc
    • PHPUnit
    • CakePHP
    • CakePHP 2.0
    • Cake PHP 2.1
    • CakePHP Model
    • Facebook PHP SDK
    • composer-php
    • PHP 7
    • PHP GD
    All Categories
  • About

WAMP/Wordpress - cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received

phpwordpresswamp


PHP Snippet 1:

max_execution_time = 30
max_input_time = 300
memory_limit = 128M
post_max_size = 32M
upload_max_size = 32M

PHP Snippet 2:

$response = wp_remote_get( $url,
    array(
        'timeout'     => 60, // <-- this one increase to 120 or more
    )
);

Related Snippets

Add custom text under order details on WooCommerce My account view order pages

php echo remove slashes from url [duplicate]

Fatal error: Array callback has to contain indices 0 and 1

Connecting an HTML webpage to a SQL Server

Get latest Tweets - What API

Display a success custom notice after Placing an Order in WooCommerce

Not able to access model in the controller mautic

Auto increment id JSON

Cant seem to get the Pagination to work on my WooCommerce REST API application?

Wordpress 'post_type_link' hides permalink

Split comma separated value from table column into rows using mysql?

IlluminateDatabaseQueryException: SQLSTATE[HY000]: General error: 1 no such table - In clone project

Laravel excel maatwebsite 3.1 import, date column in excel cell returns as unknown format number. How to solve this?

VB.NET WebRequest with PHP POST

Require a class from another class - php

About Contact Privacy policy Terms and conditions