I'm trying to access a rest service that is on an HTTPS server via PHP and is returning timeout. If I take the URL and put it in the browser it opens. I'm using Httpful ( link ), I've already used other libraries and the same error occurs. Now when I access a rest service that is on an HTTP server it works.
Below the code I'm using
$url = "https://api.github.com/users/nategood";
echo "<br>{$url}<br>";
$response = \Httpful\Request::get($url)
->strictSSL(true)
->send();
echo "<br>";
var_dump($response);
The result of the above execution is:
Fatal error: Maximum execution time of 30 seconds exceeded in phar: // C: /xampp/htdocs/project_01/httpful.phar/Httpful/Request.php on line 202
Can anyone help me?