Results 1 to 6 of 6

Thread: cURL Warning - php_curl.dll Issue

  1. #1
    nicorellius's Avatar
    nicorellius is offline Member
    Join Date
    Apr 2008
    Posts
    8

    Default cURL Warning - php_curl.dll Issue

    When going to Scheduler in SugarPro 5.5.4, I get this cURL Warning:

    This system does not have the cURL libraries enabled/compiled into the PHP module (--with-curl=/path/to/curl_library). Please contact your administrator to resolve this issue. Without the cURL functionality, the Scheduler cannot thread its jobs.

    It looks like it needs to be uncommented in php.ini. My php.ini is located here:

    /etc/php5/apache2/php.ini

    But there is no extension=php_curl.dll line in this file. Anyone? Comments, ideas, help?

  2. #2
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: cURL Warning - php_curl.dll Issue

    First, confirm that the referenced dll exists on your system. If it doesn't, you'll need to obtain it.

    Once you've got it, manually add that line to the PHP.INI file. Don't forget to restart the web service after applying the change.
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  3. #3
    nicorellius's Avatar
    nicorellius is offline Member
    Join Date
    Apr 2008
    Posts
    8

    Default Re: cURL Warning - php_curl.dll Issue

    the file is not on my system... I found and downloaded php_curl.dll and now I need to put it somewhere. Not sure where, but probably in the /var/www/sugardir somewhere. But where exactly?
    Last edited by nicorellius; 2010-07-22 at 04:05 PM.

  4. #4
    Angel's Avatar
    Angel is offline Sugar Community Member
    Join Date
    Jul 2005
    Location
    Los Angeles
    Posts
    4,813

    Default Re: cURL Warning - php_curl.dll Issue

    Sorry for not picking up on this the first time around, but if you are on linux, the file should be php_curl.so

    Once you get it, you'll want to place it in the same directory as where your other PHP extensions are stored. The PHP.INI has an entry that directs you to that directory, indicated by the setting: extensions_dir
    Regards,

    Angel Magaña
    Co-Author: Implementing SugarCRM 5.x (Packt Publishing -- Sept. 2010)
    Blog: http://cheleguanaco.blogspot.com.
    Twitter: @cheleguanaco.

    ________
    | Projects: |_____________________________________
    |
    | CandyWrapper (.NET Wrapper for SugarCRM SOAP API). Source now available on GitHub!
    | GoldMine to SugarCRM Express Conversion. Latest: 1.0.1.7 (Nov. 3, 2009)
    | CRM SkyDialer (Skype Integration). Latest: 1.0.2 (Feb. 17, 2010)
    | Round Robin Leads Assignment
    | Phone Number Formatter
    | CaseTwit (Twitter Integration)
    ______________________________________________

  5. #5
    nicorellius's Avatar
    nicorellius is offline Member
    Join Date
    Apr 2008
    Posts
    8

    Default Re: cURL Warning - php_curl.dll Issue

    I am having a hard time finding php_curl.so

    I found curl.so on my system in usr/lib/php5/20060613 but I'm not sure if pointing the extension_dir there with extension=curl.so will work.

    Anyone know of a good source to obtain php_curl.so ? or if my alternate method will work?
    Last edited by nicorellius; 2010-07-22 at 09:53 PM.

  6. #6
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: cURL Warning - php_curl.dll Issue

    Create a simple script with this code:

    PHP Code:
    <?PHP
    phpinfo
    ();
    ?>
    Save it into your htdocs and access it through your browser.
    Hopefully it will displays all php information, including extension dir and loaded libraries.

    Open your php.ini and update the extension dir accordingly.
    Restart apache and try again this script.
    Check if curl is loaded now.

    Regards
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Warning: curl_setopt() [function.curl-setopt]:
    By Iggby in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2009-04-03, 10:43 PM
  2. cURL Warning
    By akkimca in forum Help
    Replies: 5
    Last Post: 2009-01-13, 05:52 AM
  3. Issue with IIS (Smarty warning message)
    By bordeaux in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2007-07-06, 05:54 PM
  4. PHP Warning: Module 'curl' already loaded in Unknown on line 0
    By Land in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2007-05-27, 02:07 PM
  5. Replies: 2
    Last Post: 2005-12-28, 01:04 PM

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
  •