Results 1 to 3 of 3

Thread: Fatal error: Call to undefined function curl_init() in /var/www/filename

  1. #1
    Join Date
    Sep 2007
    Beans
    63

    Fatal error: Call to undefined function curl_init() in /var/www/filename

    Hey guys,

    I dont know why im experiencing this problem. I checked google and found out that I dont have curl installed in my PHP.

    My php.ini file doesn't have curl. I installed my PHP from LAMP through this guide.

    So I think my php doesn't have curl. How do I install one?

  2. #2
    Join Date
    Nov 2008
    Beans
    133
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Fatal error: Call to undefined function curl_init() in /var/www/filename

    Try this:

    apt-get install php4-gd php4-curl

    you might not need gd.

  3. #3
    Join Date
    Sep 2007
    Beans
    63

    Re: Fatal error: Call to undefined function curl_init() in /var/www/filename

    Quote Originally Posted by LegendofTom View Post
    Try this:

    apt-get install php4-gd php4-curl

    you might not need gd.
    hi tom,

    i changed something, and it worked. i put sudo apt-get install php5-curl

    hehe my php is version 5

    and it worked! thanks man!!

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •