• 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

401 Unauthorized only occurring on some pages in Laravel 8

protect images from being copied

Woocommerce product attributes with hierarchy like categories

Additional price based on cart item count in WooCommerce

How can I create a Download Page with post php method?

How to connect to MSSQL Server with PHP from Ubuntu 18.04?

Creating a config file in PHP

laravel controller function parameters

PHP header location absolute URL

Store multiple fields in JSON column (Nova CMS)

Check if string contains a value in array [duplicate]

How to Create WooCommerce Subscription Product via. REST API?

unable to load your default controller on Codeigniter

Select option from dropdown menu with PHP and mySql

How to Create WooCommerce Subscription Product via. REST API?

About Contact Privacy policy Terms and conditions