enable php's curl extension. php 7.4 in ubuntu code example Example: install or enable php's curl extension ubuntu sudo apt install php-curl