[SOLVED] PHP APACHE ERROR.....

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
sakaveli
Forum Commoner
Posts: 60
Joined: Tue Apr 06, 2004 9:42 am

[SOLVED] PHP APACHE ERROR.....

Post by sakaveli »

hi im using CURL for the first time, ive included it in my php.ini file like this:
extension=php_curl.dll
ive also inclluded the php_printer.dll file, the printer file works fine but when i try and include the curl file i get the following error:
this application failed to start because SSLEAY32.dll was now found.
re-installin this application may fix this problem.
and then this:

Unknown(): Unable to load dynamic library 'c:\php\entensions\php_curl.dll' - the specified mudule could not be found
but the file is in that location just as the printer file is. so why does it play up only with the curl file???

thanks.

ps. could you please keep the answers as simple as possible as im new to php![/quote]
Last edited by sakaveli on Wed Apr 07, 2004 4:22 pm, edited 1 time in total.
TheBentinel.com
Forum Contributor
Posts: 282
Joined: Wed Mar 10, 2004 1:52 pm
Location: Columbus, Ohio

Post by TheBentinel.com »

That SSLEAY32.dll file may need to be in the System PATH, not in the same directory as the other DLL. Try moving it to \windows or \winnt (or another directory in your PATH) and try it again.

Here's the link I'm basing this on:
http://www.offbyone.com/ob1_ssl_support.htm
User avatar
sakaveli
Forum Commoner
Posts: 60
Joined: Tue Apr 06, 2004 9:42 am

Post by sakaveli »

hey thanks for the reply,
i tried that, then it asked me for the LIBEAY32.dll file which wasnt anywhere in my php folder. so i downloaded it from the internet and put that in my windows directory too
but it now gives me the error:

the ordinal 2201 could not be located in the dynamic link library LIBEAY32.dll

and then goes on to say that it still cant find php_curl.dll

any ideas???
TheBentinel.com
Forum Contributor
Posts: 282
Joined: Wed Mar 10, 2004 1:52 pm
Location: Columbus, Ohio

Post by TheBentinel.com »

That ordinal error sounds like you have a different version of LIBEAY32.dll than the system is expecting. You might dig around and see if you can get a more recent copy. Or at least a different copy. Worth a shot.
User avatar
sakaveli
Forum Commoner
Posts: 60
Joined: Tue Apr 06, 2004 9:42 am

Post by sakaveli »

my php version is 4.3.2 does anyone know where i can the LIBEAY32.dll file for this build????
User avatar
sakaveli
Forum Commoner
Posts: 60
Joined: Tue Apr 06, 2004 9:42 am

Post by sakaveli »

the files you need are located in the php/ddl/ folder. :oops:
copy these files from this folder to your system folder i.e c:\windows\
this should solve the problem.
thnkas for the help guys! :D
Post Reply