Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to load the openssl module, I uncommented it in the php.ini:


But when running my script I get an error:

Failed to connect: 0 Unable to find the socket transport "ssl" - did you forget to enable it when you configured PHP?

From the PHP documentation:

After activating an extension, save php.ini, restart the web server and check phpinfo() again. The new extension should now have its own section.

I am using a windows server machine, This is production, I really don't want to reboot the server, is there an alternative?

share|improve this question
what type of server do you have ? "Appserver" "wampserver" ??? you have to find httpd.exe process and kill it then restart it – K3rnel31 Nov 21 '13 at 20:21
@k3rnel31 its IIS, sorry I forgot to mention – meda Nov 21 '13 at 20:37
up vote 10 down vote accepted

To restart PHP on IIS, you actually need to restart IIS:

Click Start, click Run, type IISReset, and then click OK.
share|improve this answer
Thanks this solves my problem – meda Nov 21 '13 at 20:56
you are Welcome ! – K3rnel31 Nov 21 '13 at 20:58

WinR iisreset

Or, more verbose: iisreset inside a powershell opened as administrator - or even inside a Cygwin shell.

enter image description here

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.