2

I have installed curl on my ubuntu server 14.04,

On the file:

/etc/php5/mods-available/curl.ini 

I have this

extension=/usr/lib/php5/20121212/curl.so

On PHP ini file

extension=curl.so

But when I run something like this

var_dump(extension_loaded('curl'));

returns false, and obviously, in php application is not working neither.

rleiva
  • 95
  • 2
  • 8

1 Answers1

0

if you are using WAMP is very important to remove the semicolon from both php.ini files.

Because one from apache folder is to the web and the another one, that is in the PHP folder is for the command line.

Regards.

Idir Ouhab Meskine
  • 587
  • 1
  • 9
  • 23
  • You can executa a php file with the follow content: and then, you can see if really exists. And also, please, publis some information about you system (SO, architecture, etc) Regards! – Idir Ouhab Meskine Apr 09 '16 at 22:36
  • You can see the php information here: http://www.americainmobiliaria.com/info.php but the point is, curl is not recognized, and the configuration is apparently ok – rleiva Apr 09 '16 at 22:39