Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

extension=php_openssl.dll

But when running my script I get error:

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

From 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 ? Please advice.

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

1 Answer 1

up vote 2 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

Your Answer

 
discard

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.