Skip to main content

All Questions

Tagged with
1 vote
0 answers
654 views

How to download or install php7.2-curl extension in ubuntu 21.04?

I want to install curl extension in my current php-project(php version is 7.2.34) for that i use this command sudo apt-get install php7.2-curl it's throwing following error and it's not showing in the ...
user avatar
0 votes
1 answer
126 views

cURL error 60 in Symfonycasts tutorial

In Symfonycasts "API Platform: Serious RESTful APIs" Chapter 6 there is the cURL command curl -X GET "https://localhost:8000/api" -H "accept: application/ld+json". ...
geoB's user avatar
  • 166
0 votes
0 answers
81 views

Login an Download via cURL

I have a little Problem with a new Site. On https://wsv.mitcom.online i want to login via cURL and download some CSV files. I already tried it with curl --user User:XXXX 'https://wsv.mitcom.online/...
Glennh2705's user avatar
0 votes
1 answer
2k views

php curl not returning bash result

I have a file on the remote server called test.sh which returns two lines when called from the command line with './test.sh'. So far so good. I also have a php file with a curl command called result....
George Feichter's user avatar
3 votes
1 answer
6k views

Curl extension not working for php 7, Windows 7 and Apache 2.4

I've recently upgraded to php 7.1.31, starting from an installation of EasyPhp (Windows 7, x86). After installing the files and configuring the php.ini file, all is running well, except a problem with ...
Michael's user avatar
  • 31
3 votes
0 answers
516 views

PHP cURL's TCP_FASTOPEN option is not available

According to php.net, the PHP cURL option CURLOPT_TCP_FASTOPEN is available since cURL version 7.49.0 and PHP version 7.0.7. According to what phpinfo reports on my server, i'm running PHP 7.3.7 and ...
Mister_Fix's user avatar
0 votes
1 answer
620 views

php-apache curl returns (7) Failed to connect to 10.96.128.220 port 80: No route to host

I have 3 kube services (PHP-apache) that I am trying to curl but it always returns the same error: curl: (7) Failed to connect to 10.96.128.220 port 80: No route to host Does anyone have any idea of ...
user1040842's user avatar
0 votes
0 answers
741 views

How to enable my upload form and php file for my apache server?

Im trying to upload files to my apache server over http with curl. I have a simple upload.php file in the root directory of my server and also a "submit" page on my server that is just a simple ...
THEoneANDonly's user avatar
0 votes
0 answers
335 views

Pipe netcat response to php post form

I'm trying to get a one-line command that pipes all messages on a port to a php script. I can't use a netcat proxy, as the receiving end is webserver-only. Basically, I have the idea of doing ...
Elliot Parker's user avatar
0 votes
1 answer
714 views

How to integrate cURL on my public_html?

I do have this folder structure for my website: \index.html \php\some-php-files.php \js\some-js-files.js What I want to do is, I want to use a cURL command, which I usually use it on the terminal/...
Baku Bakar's user avatar
1 vote
2 answers
4k views

Apache and PHP Curl Issue

In my apache error.log I have the following line: PHP Warning: PHP Startup: Unable to load dynamic library 'ext\php_curl.dll' - The specified procedure could not be found.\r\n in Unknown on line 0 ...
Jim's user avatar
  • 31
0 votes
1 answer
1k views

Use cURL to submit a web form for printing

I am using Xubuntu 16.04. I was unable to properly configure the drivers for a Xerox 7545 to print with a Default Group account setup. However, I am able to print by saving my document as a PDF. Then ...
jbrock's user avatar
  • 163
0 votes
1 answer
2k views

MAMP php and libcurl

I installed MAMP 4.0.6 and it works fine, but I want to use symfony and I need to use php in command line. But when I use it, I have : php -v dyld: Library not loaded: /Applications/MAMP/Library/...
user676924's user avatar
0 votes
1 answer
1k views

web scraping using php and curl from behind corporate proxy / firewall

I am behind a corporate proxy / firewall. I want to extract info from another website and am trying to do so using php and curl. My script is as follows: ===================== start of script ======...
guptaed's user avatar
1 vote
1 answer
2k views

Can someone explain the differences of file_get_contents vs guzzle vs curl? [closed]

I've been getting data from api websites by using file_get_contents or curl, but I never knew whats the difference from them. They seem to have the same results, but now there is Guzzle for php. What ...
Patoshi パトシ's user avatar

15 30 50 per page