Page 1 of 1

[SOLVED] PHP APACHE ERROR.....

Posted: Wed Apr 07, 2004 12:22 pm
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]

Posted: Wed Apr 07, 2004 1:01 pm
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

Posted: Wed Apr 07, 2004 2:09 pm
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???

Posted: Wed Apr 07, 2004 2:24 pm
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.

Posted: Wed Apr 07, 2004 2:56 pm
by sakaveli
my php version is 4.3.2 does anyone know where i can the LIBEAY32.dll file for this build????

Posted: Wed Apr 07, 2004 4:24 pm
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