#47975 [Bgs]: OpenSSL does not load
| From: | tom at brainscanmedia dot com | Date: | Thu, 16 Apr 2009 06:12:26 +0000 |
| Subject: | #47975 [Bgs]: OpenSSL does not load | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-135864@lists.php.net to get a copy of this message | ||
ID: 47975
User updated by: tom at brainscanmedia dot com
Reported By: tom at brainscanmedia dot com
Status: Bogus
Bug Type: Unknown/Other Function
Operating System: Windows 2003 Server
PHP Version: 5.2.9
New Comment:
Yeap I know it was not a bug just was wondering why it did not work but
I found out the reason. The server's system32 directory had a copy of
ssleay.dll and libeay32.dll so I updated this with the latest version
now it works... Thanks for the assistance... ;o)
Previous Comments:
------------------------------------------------------------------------
[2009-04-15 21:29:04] pajoye@php.net
so openssl loads fine.
You have a configuration problem.Check:
- that you use the right php.ini (C:\PHP\php.ini)
- that c:\php is FIRST in your PATH
However, there is no bug. Please ask further questions on one of the
numerous support channels/mailing lists (php-install, php-windows).
------------------------------------------------------------------------
[2009-04-15 21:26:23] tom at brainscanmedia dot com
I did as you said and I got this:
C:\PHP>php.exe -d extension_dir=ext -d extension=php_openssl.dll -m
PHP Warning: Module 'openssl' already loaded in Unknown on line 0
[PHP Modules]
bcmath
calendar
com_dotnet
ctype
curl
date
dom
filter
ftp
gd
hash
iconv
json
libxml
mbstring
mcrypt
mysql
odbc
openssl
pcre
PDO
pdo_sqlite
Reflection
session
SimpleXML
SPL
SQLite
standard
tokenizer
wddx
xml
xmlreader
xmlwriter
zlib
[Zend Modules]
C:\PHP>
------------------------------------------------------------------------
[2009-04-15 21:20:46] pajoye@php.net
no idea, it works just fine here (on ten different servers).
Simply try, using the command line, the following commands:
cd c:\php5 (or where you have php)
php.exe -d extension_dir=ext -d extension=php_openssl.dll -m
------------------------------------------------------------------------
[2009-04-15 21:16:16] tom at brainscanmedia dot com
Yes its in my path and everything is setup correctly. That link has a
phpMailer call at the top so you will see the error I get. I even tried
to reload the old php version and same thing. Can there maybe be a
conflict with any of the other dll's?
------------------------------------------------------------------------
[2009-04-15 21:14:30] pajoye@php.net
phpinfo does not do any connection. Did you enable it in your php.ini?
Are the openssl DLL in your path?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/47975
--
Edit this bug report at http://bugs.php.net/?id=47975&edit=1