|
From: <php...@li...> - 2010-05-17 22:20:07
|
Hello,
I am using Tomcat 6, Windows XP, and PHP/Java Bridge with SSL and for the
most part all is well. The problem I seem to be having is enabling OpenSSL
Support. I need to pull some data using a get_file() over an SSL
communication line and all I get back is garbled text or nothing and I
assume this is because I am doing
get_file("ssl://user:pass@<website>:<port>/?query=ipod") without OpenSSL
Support. I have tried adding:
extension=php_openssl.dll
to my php.ini and at first I got a warning that the file was mismatched
(old version) so I downloaded a php_openssl.dll v5.3.1.0 and then I
received the following error by running cgi\php-cgi-x86-windows.exe:
---------
"PHP Warning: PHP Startup: Unable to load dynamic library
'C:\apache\Tomcat\Webapps\JavaBridge\WEB-INF\cgi\php_openssl.dll' - This
application has failed to start because the application cofiguration is
incorrect. Reinstalling the application may fix this problem. in Unknown
on line 0"
----------
On the webserver the connection will time out and display an error
eventually followed by the OS throwing an error to close a running
process.
My php.ini is as followed:
--------
;; -*- mode: Scheme; tab-width:4 -*-
;; A simple php.ini
extension_dir="C:\apache\Tomcat\webapps\JavaBridge\WEB-INF\cgi"
include_path="C:\apache\Tomcat\webapps\JavaBridge\WEB-INF\pear;."
extension=php_openssl.dll
-----------
The php_openssl.dll is in the correct folder and I've tried moving
libeay32.dll and ssleay32.dll to various locations but I always get the
same error.
Has anyone been able to get OpenSSL support to work?
I would appreciate help from anyone,
Thanks,
~Matt
|