Answers for "curl get command in linux from php"

PHP
1

how to install php curl (linux) apache2

#install the latest php CURL
sudo apt-get install php-curl

#install a specific PHP[version]-curl, php version 5 is the example below
sudo apt-get install php5-curl

#restart apache by typing
sudo service apache2
Posted by: Guest on September-23-2021
1

how to run curl command through php script

You can try below link direct convert whole command into php script
https://incarnate.github.io/curl-to-php/
Posted by: Guest on March-22-2021

Browse Popular Code Answers by Language