Jump to content

CURL Not Loading on the CLI


AbydosGater

Recommended Posts

Hey, I have been working on the CLI for a few months now and every time i go to run a script i get the following popups..

Runtime Error!

Program C:\apache2triad\php\bin\php.exe

...Blah Blah has made an attepmy to load the C runtime library incoorectly.. please contact the apps support team for more information.

Followed By:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\apache2triad\php\extensions\php_curl.dll' - A dynamic link library (DLL) initialization routine failed.

in Unknown on line 0

And in the PHP error log it says:

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\apache2triad\php\extensions\php_curl.dll' - A dynamic link library (DLL) initialization routine failed.

in Unknown on line 0

 

I dont know why this is.. I have checked.. The php_curl.dll IS there and CURL works fine and dandy on the browser applications.. Just not on the command line interface..

 

Does anyone know why? I sorta need it now :P

 

Andy

Link to comment
Share on other sites

Apache2triad is some kind of package right?  You'd be better off asking them for support.

 

Based on general knowledge, it sounds to me like your php CLI executable doesn't match your php_curl.dll library.  It also sounds like your php CLI executable doesn't even match your C runtime library, which is a more serious problem.  Reinstalling php may fix it (make sure you follow all steps in the install instructions, and ask about any you don't understand).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.