PHP openssl_public_encrypt call page timeout / connection reset?

Just ported to a new computer and has problems.

Note. This is the installation of Windows 7, Apache 2.2.21, MySQL 5.5.16, php 5.3.8.

Every time I run a certain PHP script, I am faced with "Error loading page - connection was reset". I know that a script works before calling a function with various echo instructions, but calls:

openssl_public_encrypt ();

I am given a page timeout. I added the corresponding opensl.dll PATH to my Windows configuration settings (D: \ xampp \ php \ etc), but I still get page timeout errors on my actual localhost machine (and the above errors).

Return page:

The connection was reset

  • The connection to the server was reset while the page was loading.

apache ssl :

[Wed Dec 07 15:13:17 2011] [info] SSL-

[Wed Dec 07 15:13:17 2011] [debug] ssl_engine_pphrase.c(470): RSA -

[Wed Dec 07 15:13:17 2011] [info] SSL

[Wed Dec 07 15:13:17 2011] [debug] ssl_engine_init.c(465): SSL (: SSLv2, SSLv3, TLSv1)

[Wed Dec 07 15:13:17 2011] [debug] ssl_engine_init.c(420): TLS

[Wed Dec 07 15:13:17 2011] [debug] ssl_engine_init.c(795): RSA

[Wed Dec 07 15:13:17 2011] [warn] RSA CommonName (CN) `localhost ' !?

[Wed Dec 07 15:13:17 2011] [debug] ssl_engine_init.c(834): RSA-

PHPinfo() :

**

OpenSSL

**

OpenSSL support          |  enabled
----------------------------------------------------------
OpenSSL Library Version  |  OpenSSL 1.0.0e 6 Sep 2011
----------------------------------------------------------
OpenSSL Header Version   |  OpenSSL 0.9.8r 8 Feb 2011 

-

? ?

+5
2

, , apache php. Apache . ( ):

xampp/apache/bin:

  • libeay32.dll
  • ssleay32.dll

xampp/php. .

+5

:

[warn] RSA CommonName (CN) `localhost ' !?

, localhost?

0

All Articles