Skip to main content
1 vote
0 answers
23 views

When using curl_multi_* there is around 20 iterations for one request despite curl_multi_select use. Why?

From the documentation for the curl_multi_select: Blocks the execution of the script until a cURL handle attached to the cURL multi handle would be able to make progress on the next call to ...
Mike's user avatar
  • 71
1 vote
1 answer
29 views

php curl receveive 302 response code from OVH

In the last few days/weeks, a webservice call from php curl to a service located in OVH has started receiving a "302" HTTP Code response I thought the calling server was blacklisted. But the ...
VinceSax Maury's user avatar
0 votes
0 answers
24 views

Handling exif and metadata of server response which contains image

` <?php error_reporting(E_ALL); ini_set('display_errors', 1); define('RESPONSE_PREVIEW_LENGTH', 1000); class HttpErrorException extends Exception {} class JsonDecodeException extends Exception {} ...
PBT's user avatar
  • 11
1 vote
1 answer
61 views

CURL (PHP) works locally but it doesn't on remote server (curl_error #26)

I try to send photo via Telegram bot, so I wrote the code (a part of it): $img_path = "https://www.example.com/path/to/file.jpg"; $method = "sendPhoto"; $arrayQuery = array( &...
Sashik259's user avatar
-2 votes
0 answers
48 views

OpenAI Assistant with PHP - Missing required parameter

I have a chatbot that's set up to ask a custom assistant questions, but I cannot seem to get my function correct for adding a message to a thread. I am able to create the thread and access the ...
Lavesh Pillay's user avatar
0 votes
1 answer
18 views

Error:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol

I am trying to make an HTTPS request using cURL in PHP 5.6 (i am forced to use 5.6 due enviroment), but I keep encountering the following error: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:...
One Service's user avatar
2 votes
2 answers
39 views

Make interval for PROGRESSFUNCTION in PHP CURL?

With below code curl_setopt($ch, CURLOPT_NOPROGRESS, 0); curl_setopt($ch, CURLOPT_PROGRESSFUNCTION, 'progress_upload'); progress_upload function will be triggered many times in a second but ...
Max Amini's user avatar
0 votes
0 answers
40 views

Cookie curl on two ec2s

My old project code is saving curl cookie to temporary file as below curl_setopt($ch, CURLOPT_COOKIEJAR, dir_tmp); curl_setopt($ch, CURLOPT_COOKIEFILE, dir_tmp); it is running on 1 ec2 Now need to ...
TruongGa's user avatar
0 votes
0 answers
3k views

Failed to connect to 18x.130.1x5.xxx port 10000: Connection timed out

I opened vps from azure ubuntu 20.04 and installed cyberpanel here, then I opened all incoming and outgoing ports in azure, I installed script, this script sends curl with proxy but I get error "...
hummorrrflov's user avatar
0 votes
0 answers
52 views

PHP CURLSSLOPT_NATIVE_CA returns 'SSL certificate problem: unable to get local issuer certificate'

I'm trying to access an url which has SSL certification and use https using php curl inside a Windows Server 2016 enviroment. The curl options in the php code are set as follows: $curl = curl_init(); ...
GiuGent's user avatar
0 votes
0 answers
33 views

Has anyone successfully managed to configure a PHP class method to retrieve a CheckoutId for a Sumup Payment Widget

Our HTML/Javascript client sends a request to our PHP proxy Class and method to invoke the communication with the Sumup API. The Sumup Developer Documentation appears to require three steps: Use Curl ...
Webcliq's user avatar
  • 24
0 votes
0 answers
41 views

php_curl.ddl not found using EasyPHP devserver 17, PHP 8.3.3

My php.ini contains: extension_dir = "C:\Program Files (x86)\EasyPHP-Devserver-17\eds-binaries\php\php833vs16x86x240904030356\ext" php_curl.dll is in that directory. The error.log contains: ...
Sevenel's user avatar
0 votes
1 answer
304 views

XAMPP php 8.2.23 Unable to load dynamic library 'curl'

I'm running a local development environment on Windows using XAMPP with multiple PHP versions. I manually switch between the PHP versions by setting the correct paths in httpd-xampp.conf and updating ...
Shane's user avatar
  • 5,091
0 votes
1 answer
38 views

CURL - Sending PDF failing with Laravel

I'm sending a PDF file via CURL in Laravel: <?php namespace App\Http\Controllers\EmailSender; use Illuminate\Bus\Queueable; use Illuminate\Contracts\Queue\ShouldQueue; use Illuminate\Mail\...
Erbi Silva's user avatar
1 vote
1 answer
258 views

PHP8.3 - Can't load php_curl (Windows 11, Apache 2.4.53)

I can't get PHP8.3 (Win32-vs16-x64) running under Apache 2.4.53 (win64-VS16) to load php_curl, when Apache starts this error is logged: PHP Warning: PHP Startup: Unable to load dynamic library 'curl' ...
toby1kenobi's user avatar
  • 1,679

15 30 50 per page
1
2 3 4 5
90