Re: Re: [ANNOUNCEMENT] pecl_http-2.1.0RC2 (beta) Released.
| From: | Jan Ehrhardt | Date: | Tue, 12 Aug 2014 18:30:21 +0000 |
| Subject: | Re: Re: [ANNOUNCEMENT] pecl_http-2.1.0RC2 (beta) Released. | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-12170@lists.php.net to get a copy of this message | ||
Jan Ehrhardt in php.pecl.dev (Tue, 12 Aug 2014 18:39:55 +0200):
>My PHP 5.5.16RC1 build worked flawlessly with the exception of
>php_event.dll. But that was a SSL issue, because I have been trying to
>get that to work (by compiling the libevent libswith OpenSSL support).
SSL issue for libevent also solved. See the TS build of PHP 5.5.16RC1:
https://phpdev.toolsforresearch.com/php-5.5.16RC1-Win32-VC11-x86.zip
For Anatol: I had used Shining Light's installer to install SSL 1.0.1h
in C:\OpenSSL\Win32\1_0_1h. CMake was smart enough to find the
libeay32MD.lib in C:\OpenSSL\Win32\1_0_1h\lib\VC (it now finds 1.0.1i).
From the libevent-master directory:
mkdir vc9.x86
cd vc9.x86
cmake -G "Visual Studio 9 2008" ..
was enough to do the trick. My full command line now is
cmake -G "Visual Studio 9 2008" \
-DOPENSSL_ROOT_DIR=\php-sdk\win32build.vc9 \
-DOPENSSL_LIBRARIES=\php-sdk\win32build.vc9\lib \
-DZLIB_INCLUDE_DIR=\php-sdk\win32build.vc9\include \
-DZLIB_LIBRARY=\php-sdk\win32build.vc9\lib\zlib_a.lib \
..
The SSL-libs from the Shining Light install must be present in
\php-sdk\win32build.vc9\lib\VC
Jan