I'm having some trouble with curl on a LAMPP install. I'm running Ubuntu Jaunty. I have a similar install, and it all worked fine.
My "normal" curl (ie, the one installed from apt-get) works fine when I run, say "curl google.com" from the command line.
However, running curl EITHER from PHP or from the following command: "/opt/lampp/bin/curl google.com" returns "curl: (6) Couldn't resolve host 'google.com'".
I don't know where to look, really (I'm just a lowly programmer, not really a sysadmin). My /etc/resolv.conf looks something like:
# Generated by NetworkManager
Anyone have any ideas?
Thanks in advance,