Apache2Triad Help, Support and Development Forum Index Search Profile Log in to check your private messages Log in Register Memberlist Attachments Statistics Crew/Ranks Archive
 Install problem with curl.dll
Google
Post new topic Reply to topic
Author Message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Mon Feb 27, 2006 6:49 am Reply with quoteBack to top

well then temporary move the directories Dreamweaver MX 2004 and Wireless to C:/ and see if you still have the issue
View user's profileSend private message
jack
 
 


Joined: 22 Feb 2006
Posts: 5

PostPosted: Mon Feb 27, 2006 2:19 pm Reply with quoteBack to top

so I should change this:

C:\Program Files\Macromedia\Dreamweaver MX 2004
C:\Program Files\Intel\Wireless\Bin

to

C:\Dreamweaver MX 2004
C:\Wireless\Bin

That won't mess up any of my Dreamweaver or Wirless file path?

Quick note - just wanted to see if you realize that you're main site page apache2triad.net hasn't been loading all day, and is now loading to a not found error....
View user's profileSend private message
echobrain
 
 


Joined: 28 May 2005
Posts: 4

PostPosted: Thu Mar 09, 2006 8:52 am Reply with quoteBack to top

I seem to have a similar problem as the topic starter.
My problem occurred after upgrading for a2t 1.5.x (I think it was 1.5.3) to 1.5.4
Every page runs the way it should, but whenever I try to do something from the command line (like installing a pear package, or running phpunit) I get two errors:

Quote:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!

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

R6034

An application has made an attempt to load the C runtime library incorrectly.
Please contact the application's support team for more information.


And after that:

Quote:

---------------------------
Warning
---------------------------
PHP Startup: Unable to load dynamic library 'C:\apache2triad\php\extensions\php_curl.dll' - Een initialisatieroutine van de dynamic link library (DLL-bestand) is mislukt.


After the two errors, the command seems to run properly, but it’s very annoying.

I’ve tried some thing to solve the problem, but didn’t succeed yet.
I’ve installed a2t 1.4.4. That solved the problem, but I need php5 (and have no idea how to install it by hand  )

I’ve tried the fixfiles script, but that only gave me:

Quote:

This script will search for some files from old installations of php mysql and perl , known to cause problems for apache2triad.
Did not find c:/my.cnf
Did not find C:\WINDOWS/system/php5ts.dll
Did not find C:\WINDOWS/system32/php5ts.dll
Did not find C:\WINDOWS/system/perl58.dll
Did not find C:\WINDOWS/system32/perl58.dll
Did not find C:\WINDOWS/system/ntwdblib.dll
Did not find C:\WINDOWS/system32/ntwdblib.dll
Did not find C:\WINDOWS/system/libeay32.dll
Did not find C:\WINDOWS/system32/libeay32.dll
Did not find C:\WINDOWS/system/ssleay32.dll
Did not find C:\WINDOWS/system32/ssleay32.dll


I’ve checked that php_curl.dll is located in C:\apache2triad\php\extensions\php_curl.dll
I’ve checked that in php.ini extension_dir = "C:\apache2triad\php\extensions"

I’ve search for the files that where stated here some posts back, they are located here:

Quote:

libeay32.dll
C:\apache2triad\bin
C:\Program Files\FlashFXP
C:\apache2triad\opssl\bin
C:\apache2triad\pgsql\bin
C:\Program Files\Macromedia\Dreamweaver MX 2004
C:\Program Files\Zend\ZendStudioClient-5.1.0\bin\SourceControl\svn

ssleay32.dll
C:\apache2triad\bin
C:\Program Files\FlashFXP
C:\apache2triad\opssl\bin
C:\apache2triad\pgsql\bin
C:\Program Files\Macromedia\Dreamweaver MX 2004
C:\Program Files\Zend\ZendStudioClient-5.1.0\bin\SourceControl\svn
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Thu Mar 09, 2006 8:57 am Reply with quoteBack to top

same advice as in his case applies to you , temporarly remove the 3rd party libraries

however just copying libeay32.dll and ssleay32.dll from apache2triad\bin to %windir%\system32 should enable them to take precedence over the other libraries
View user's profileSend private message
echobrain
 
 


Joined: 28 May 2005
Posts: 4

PostPosted: Thu Mar 09, 2006 1:10 pm Reply with quoteBack to top

Thanks for your help Vlad.

I've removed the 3rd party dll's (stored them in c:\dlltemp) and copied the dll's from the a2t/bin dir to the system32 dir, but it didn't solve the problem Sad
Any other options?
View user's profileSend private message
Vlad Alexa Mancini
lead developer
lead developer


Joined: 07 Jul 2003
Posts: 1539

PostPosted: Fri Mar 10, 2006 11:57 am Reply with quoteBack to top

coment out "extension=php_curl.dll" in php.ini as last alternative to disable the extension

other than that i would have to look at your system to figure out what is wrong , basically php_curl.dll needs to load libeay32.dll and ssleay32.dll and it fails to do so , hands on investigation needs to be done from your part
View user's profileSend private message
jkliza
 
 


Joined: 15 Mar 2006
Posts: 2
Location: NY

PostPosted: Wed Mar 15, 2006 8:51 pm Reply with quoteBack to top

Hey guys,

First of all, I would like to say thank you Vlad for such an incredible solution. I am very thankful that the guys over at SugarCRM recommended you stack for running their application. I've used a number of similar products, and none come close to yours.

The Fix:

I came across this post by searching for this same error, which I was having earlier today while trying to create a scheduled task that needed to call the curl package.

What I did was the following:

1) I searched for the libeay32.dll and ssleay32.dll files, and found that they were both located in 3 directories, all within the apache2triad main directory:

C:\apache2triad\bin
C:\apache2triad\opssl\bin
C:\apache2triad\pgsql\bin

2) Upon further inspection I noticed that the versions of the files in the

C:\apache2triad\opssl\bin
C:\apache2triad\pgsql\bin

folders were the same file size, but were different than the version of the files in the C:\apache2triad\bin folder

3) I copied the version from the

C:\apache2triad\opssl\bin
C:\apache2triad\pgsql\bin

folders, into the C:\apache2triad\bin, overwriting the existing versions, prayed about it over lunch, and thankfully, it worked, and Im running fine now, no more issues.

Hope this helps, and I hope my description is clear.

Im sorry that I didnt take the time to look into the diifferences to try and fix the actual problem Vlad,
I have been trying to get SugarCRM up and running and work all the kinks out before we go live.

If you have any questions please let me know, as I'd be more than happy to help.

Jesse
View user's profileSend private message
echobrain
 
 


Joined: 28 May 2005
Posts: 4

PostPosted: Thu Mar 16, 2006 8:21 am Reply with quoteBack to top

thanks jkliza, that works for me too!
The option vlad gave, with commention out curl.ddl also works, but I guess this might be better.
View user's profileSend private message
jkliza
 
 


Joined: 15 Mar 2006
Posts: 2
Location: NY

PostPosted: Thu Mar 16, 2006 4:25 pm Reply with quoteBack to top

Yeah, commenting it out would work, but not if you need curl, which in my case, I need it.

No problem, glad I could help you out.
View user's profileSend private message
fodde
 
 


Joined: 10 Jan 2007
Posts: 2

PostPosted: Wed Jan 10, 2007 10:30 am Reply with quoteBack to top

I had the same problem of a runtime error and curl_.dll when running php-win.exe from a scheduled task.

I've done what jkliza suggested earlier (not thinking that it would work at all Surprised , but alas, it did!

Thanks jkliza!
View user's profileSend private message
farsue
 
 


Joined: 03 Feb 2007
Posts: 1

PostPosted: Sat Feb 03, 2007 6:08 pm Reply with quoteBack to top

I have the same problem except I get this error:

Quote:
Runtime Error!

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

R6034

An application has made an attempt to load the C runtime library inccorectly.
Please contact the applications support team for more information


followed by this one:

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


um I did everything and I can't get it to work. Is it the script I'm using? I don't know I installed this to try to learn php.

Thanks for any help,
~Farsue[/quote][/code]
View user's profileSend private message
ttech5593
 
 


Joined: 25 Feb 2006
Posts: 9

PostPosted: Mon Feb 19, 2007 8:54 pm Reply with quoteBack to top

None of this helped for me. Sad
View user's profileSend private message
wolly
 
 


Joined: 05 Mar 2007
Posts: 1

PostPosted: Mon Mar 05, 2007 1:01 am Reply with quoteBack to top

thanks for this solution m8

it worked a treat Very Happy
View user's profileSend private message
DELETED
Guest





PostPosted: Tue Mar 20, 2007 1:49 pm Reply with quoteBack to top

DELETED
DELETED
Guest





PostPosted: Mon Aug 13, 2007 11:37 pm Reply with quoteBack to top

DELETED
Display posts from previous:      
Post new topic Reply to topic


 Jump to:   



View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum
Powered by phpBB © 2001, 2002 phpBB Group :: FI Theme
All times are GMT