Warning: stream_socket_enable_crypto(): this stream does not support SSL/crypto in C:\xampp\htdocs\12work\class.smtp.php on line 197

Alright, we need to enable Open SSL module. Here is how to do it:

  1. Locate and open your php.ini file
  2. Search for the line: ;extension=php_openssl.dll
  3. Enable the module by removing ; char.
  4. Save the file and restart Apache.

Hint:
If you are not familiar with php.ini file, it is recommended to create a backup before modification. Ini is a configuration file and misconfigured or corrupted ini can result in that web server will not start.

If you are using LAMP stacks such as wamp, it should be possible to enable modules via graphic interface.

More about php.ini: https://secure.php.net/manual/en/configuration.file.php

Leave a Comment