For Debian/Ubuntu based systems you can type

sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart

For RedHat/CentOS based systems you can type (as root)

yum install php5-curl /etc/init.d/httpd restart

 

SI estuviera instalado debemos verificar que tenemos el archivo curl.ini dentro de la ruta /etc/php5/apache2/conf.d

 

root@syswoody:/etc/php5/apache2/conf.d# ls
adodb.ini    imap.ini               ming.ini       pdo_sqlite.ini  sqlite.ini
curl.ini     mcrypt.ini             mysqli.ini     ps.ini          tidy.ini
gd.ini       memcache.ini           mysql.ini      pspell.ini      xmlrpc.ini
idn.ini      memcache.ini.dpkg-old  pdo.ini        recode.ini      xsl.ini
imagick.ini  mhash.ini              pdo_mysql.ini  snmp.ini

 

Y que tenemos colocado dentro de php.ini

 

extension_dir = "./"

 

o

 

extension=curl.so

 

Por admin

Deja una respuesta

Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.

Powered By
100% Free SEO Tools - Tool Kits PRO