Are you aware that you cannot use many of PHP's openssl functions without crashing Apache (1.7.7 for Windows, PHP 5.3.8 ). The problem is that the version of the open ssl libraries that Apache is compiled with is not the same as the ones that PHP uses. More info here:
https://bugs.php.net/bug.php?id=55470.
I had just upgraded from 1.7.1 and spent far too long finding this out. Oh well, back to the good old days of a separate Apache, PHP and Mysql (which is actually much easier to set-up than it used to be).
Cheers
John