"how to install php-curl in ubuntu 16.04" Code Answer

3

in ubuntu 16.04 default php version is 7.0, if you want to use different version then you need to install php package according to php version:

  • php 7.4: sudo apt-get install php7.4-curl
  • php 7.3: sudo apt-get install php7.3-curl
  • php 7.2: sudo apt-get install php7.2-curl
  • php 7.1: sudo apt-get install php7.1-curl
  • php 7.0: sudo apt-get install php7.0-curl
  • php 5.6: sudo apt-get install php5.6-curl
  • php 5.5: sudo apt-get install php5.5-curl
By Chandan Kumar on September 21 2022

Answers related to “how to install php-curl in ubuntu 16.04”

Only authorized users can answer the Search term. Please sign in first, or register a free account.