cancel
Showing results for 
Search instead for 
Did you mean: 

Magento & HHVM sendmail Issue related to stream_socket_enable_crypto

Magento & HHVM sendmail Issue related to stream_socket_enable_crypto

It's proven now that Magento will easily get Sub 1 second load times with HHVM without any fancy caching, completely stock. 

 

There is one currently very large obstacle to running Magento on HHVM and that's HHVM's lack of stream_socket_enable_crypto support.

 

What this means is that for Magento running on HHVM when a customer goes to Checkout and hits the [Place Order] button the next page they will receive is a white blank page. This is because HHVM throws an error in the background. The order will still go through, but the customer will never receive an order confirmation e-mail. 

 

Also, on HHVM Magento customers won't be able to use the contact form and they will get this error:

Unable to submit your request. Please, try again later

 The error you will get in HHVM is: 

Fatal error: Call to undefined function stream_socket_enable_crypto() in /magento/lib/Zend/Mail/Protocol/Smtp.php on line 206

 

So, what can you do about this? Please prod HHVM's devs to roll out support for stream_socket_enable_crypto quicker. You can do that here: https://github.com/facebook/hhvm/issues/1647

 

The faster this is done, the faster Magento will be fully supported. Currently, I'm forced to use quite a few tricks to get around this problem.

3 REPLIES 3

Re: Magento & HHVM sendmail Issue related to stream_socket_enable_crypto

Looks like this worked! 

 

FInally got Facebook's devs to respond. They will start working on implementing stream_socket_enable_crypto within the next week or two. They don't have an ETA yet, however, but this is basically as good as it will get. 

 

No need to bug them anymore! Smiley Happy

Re: Magento & HHVM sendmail Issue related to stream_socket_enable_crypto

This has been completed already for awhile hasnt it? Magento sites and HHVM have been almost stable now.

Re: Magento & HHVM sendmail Issue related to stream_socket_enable_crypto

you can always separate requests , send some incompatible routes to php-fpm, i am sure you wont lose much...

------------
MagenX - Magento and Server optimization