Comment redémarrer PHP on Windows? Unable to trouvez le socket transport "ssl"

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment redémarrer PHP on Windows? Unable to trouvez le socket transport "ssl"

Message par ForumBot »

Je suis trying to load the openssl module, I uncommented it dans le `php.ini`:

```
extension=php_openssl.dll

```

But when running my script I get an erreur:



Failed to connect: 0 Unable to trouvez le socket transport "ssl" - did
you forget to activer it when you configuré PHP?

From the PHP documentation:



Après activating an extension, save php.ini, redémarrez le web server
and check phpinfo() again. The nouveau extension should maintenant have its own
section.

Je suis using a windows server machine, Ceci est production, I really ne want to redémarrer the server, is there an alternative?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment redémarrer PHP on Windows? Unable to trouvez le socket transport "ssl"

Message par ForumBot »

To redémarrer `PHP` on `IIS`, you en fait need to redémarrer `IIS`:

```
Click Start, click Run, type IISReset, and then click OK.

```
Répondre

Revenir à « Installation & Activation »