• Resolved Nigel

    (@canuck069)


    Hi Folks,
    I just had the unfortunate need to reinstall WordPress and recover from a backup but now I am having an issue with WP Mail SMTP not being able to send emails. I made no (known) changes to my PHP settings with the WordPress re-install and have even tried to delete WP Mail SMTP and reinstall but I am still getting the same openSSL error.
    Any idea what might have changed and where to fix it?
    I am running on a Synology NAS, if that helps.

    Versions:
    WordPress: 5.7.2
    WordPress MS: No
    PHP: 7.3.24
    WP Mail SMTP: 3.2.1
    
    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: Extension missing: openssl
    Host: smtp.mail.me.com
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Debug.php:183:bool(true)
    SMTPAuth: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Debug.php:183:bool(true)
    
    Server:
    OpenSSL: No
    
    Debug:
    Email Source: WP Mail SMTP
    Mailer: Other SMTP
    Extension missing: openssl
    
    SMTP Debug:
    
    Extension missing: openssl

    Many thanks, Nigel

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi @canuck069,

    Thanks for reaching out. It looks like the OpenSSL extension is missing on your PHP installation. Please contact your webhost provider to install or enable OpenSSL.

    I hope this helps!

    Thread Starter Nigel

    (@canuck069)

    Hi Sanjeev

    In this case I am my own webhost provider. I have WordPress running on my Synology NAS server.
    I looked at the link you included (along with other internet sources) and they appear to indicate that I needed to add “extension = openssl” to my php.ini file. I could not find one under wordpress but the one in /etc/php appears to be the one loading however it doesn’t appear to load. Even though it is looking in the correct folder /usr/bin

    /etc/php$ php -i | grep ini
    PHP Warning:  PHP Startup: Unable to load dynamic library 'openssl' (tried: /usr/bin/openssl (/usr/bin/openssl: cannot dynamically load executable), /usr/bin/openssl.so (/usr/bin/openssl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
    Configuration File (php.ini) Path => /etc/php
    Loaded Configuration File => /etc/php/php.ini
    Scan this dir for additional .ini files => (none)
    Additional .ini files parsed => (none)
    user_ini.cache_ttl => 300 => 300
    user_ini.filename => .user.ini => .user.ini
    Classes => AppendIterator, ArrayIterator, ArrayObject, BadFunctionCallException, BadMethodCallException, CachingIterator, CallbackFilterIterator, DirectoryIterator, DomainException, EmptyIterator, FilesystemIterator, FilterIterator, GlobIterator, InfiniteIterator, InvalidArgumentException, IteratorIterator, LengthException, LimitIterator, LogicException, MultipleIterator, NoRewindIterator, OutOfBoundsException, OutOfRangeException, OverflowException, ParentIterator, RangeException, RecursiveArrayIterator, RecursiveCachingIterator, RecursiveCallbackFilterIterator, RecursiveDirectoryIterator, RecursiveFilterIterator, RecursiveIteratorIterator, RecursiveRegexIterator, RecursiveTreeIterator, RegexIterator, RuntimeException, SplDoublyLinkedList, SplFileInfo, SplFileObject, SplFixedArray, SplHeap, SplMinHeap, SplMaxHeap, SplObjectStorage, SplPriorityQueue, SplQueue, SplStack, SplTempFileObject, UnderflowException, UnexpectedValueException
    

    Any thoughts?

    Thanks, Nigel

    Thread Starter Nigel

    (@canuck069)

    Just another update.
    I looked at the php -i information a little closer and it does show that openssl is running, so now I am more confused why WP Mail SMTP says it is not.

     php -i | grep SSL
    SSL => Yes
    MULTI_SSL => No
    SSL Version => OpenSSL/1.1.1l
    OpenSSL support => enabled
    OpenSSL Library Version => OpenSSL 1.1.1l  24 Aug 2021
    OpenSSL Header Version => OpenSSL 1.1.1l  24 Aug 2021
    OpenSSL support => enabled
    

    and from WP MAIL SMTP

    Versions:
    WordPress: 5.7.2
    WordPress MS: No
    PHP: 7.3.24
    WP Mail SMTP: 3.2.1
    
    Params:
    Mailer: smtp
    Constants: No
    ErrorInfo: Extension missing: openssl
    Host: smtp.mail.me.com
    Port: 587
    SMTPSecure: tls
    SMTPAutoTLS: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Debug.php:183:bool(true)
    SMTPAuth: /volume1/web_packages/wordpress/wp-content/plugins/wp-mail-smtp/src/Debug.php:183:bool(true)
    
    Server:
    OpenSSL: No
    
    Debug:
    Email Source: WP Mail SMTP
    Mailer: Other SMTP
    Extension missing: openssl
    
    SMTP Debug:
    
    Extension missing: openssl

    I have tried uninstalling and reinstalling but I know that keeps all your configuration settings, so maybe it’s something in there? Just a guess.

    Thanks, Nigel

    Thread Starter Nigel

    (@canuck069)

    Resolved
    In case anyone else experiences this.
    For a Synology NAS you need to enable extensions for WordPress in their Web Station application. I am not sure how they got turned off but once enabled everything appears to be working now. ??

    Steps on Synology DSM 7:
    1) Login to your Synology NAS
    2) Open the Web Station application
    3) Select “Script Language Settings
    4) Select the WordPress profile and hit [Edit]
    5) Go to the Extensions tab
    6) Enable the needed extensions (bcmath, curl, exif, imagick, openssl, zip …)
    7) Hit [Save]

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Extension missing: openssl’ is closed to new replies.