CentOS ise şu komutu verin:
yum install php-curl