I have a php script that works perfectly under apache2, and phpinfo() shows curl available, which is required by the script. However, curl_init() is undefined when my script is run from the command line.
Running this:
from the command line does not show curl as being available. That feature/module section is not present. I tried adding curl.so to /etc/php5/cli/php.ini, but it didn't seem to make a difference.
Thanks in advance!
p.s. I'm developing on ubuntu, deploying on XP