The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

errors with php_curl.dll from cmd line php script

Discussion in 'General Discussion' started by fuzioneer, Nov 16, 2007.

  1. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    I "think" that one of our cronned cmd line php scripts is causing an error to appear in the error log


    [16-Nov-2007 07:38:01] PHP Warning: Unknown(): Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_curl.dll' - /usr/local/lib/php/extensions/no-debug-non-zts-20020429/php_curl.dll: cannot open shared object file: No such file or directory in Unknown on line 0


    I have one of these every time the script executes so i am pretty sure its the script that is causing it.

    any ideas why its doing this ?
     
  2. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    php_curl.dll is a windows dynamic link library, so has no place on a linux/bsd system, check the script and your php.ini for a reference to it, and then remove it!
     
  3. fuzioneer

    fuzioneer Well-Known Member

    Joined:
    Dec 12, 2003
    Messages:
    98
    Likes Received:
    0
    Trophy Points:
    6
    spot on, it was uncommented in the php.ini for some unknown reason !
     
Loading...

Share This Page