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
https://forums.phpfreaks.com/topic/57155-curl-not-loading-on-the-cli/
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).

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.