# Allowing SSL socket transport in PHP

**URL:** <https://www.phphelp.com/t/allowing-ssl-socket-transport-in-php/32086>\
**Category:** PHP Installation and Configuration\
**Created:** [June 18, 2020, 12:25pm UTC](https://www.phphelp.com/t/allowing-ssl-socket-transport-in-php/32086 "2020-06-18T12:25:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ondra](https://www.phphelp.com/user_avatar/www.phphelp.com/ondra/32/3209_2.png) [@Ondra](https://www.phphelp.com/u/Ondra)\
**Post date:** [June 18, 2020, 12:25pm UTC](https://www.phphelp.com/t/allowing-ssl-socket-transport-in-php/32086/1 "2020-06-18T12:25:33Z")

</div>

I need help with allowing SSL socket transport in PHP. I did my research on internet but non of the guides worked.

I need to move old site from Linux server to Windows server. While testing it on new server I’ve got stuck with this error:  
Unable to find the socket transport “ssl” - did you forget to enable it when you configured PHP?

I enabled the SSL modules in Apache and PHP but it is not working with no helpful errors to follow.

Here is my PHP info: [PHP Info](https://justpaste.it/3qm40)

How do I add SSL to Registered Stream Socket Transports?
