Home → Installation and Upgrade Manual → Installation Troubleshooting → Openssl_pkey_get_details() error when upgrading
5.7. Openssl_pkey_get_details() error when upgrading
Updated: Jun 10 2026, 04:16 PM
During an upgrade to version 5.8.0 from an earlier version, the update command may fail to complete and login may not work. On Windows, this can be caused by a missing OpenSSL configuration environment variable required by PHP.
Symptoms
- The update command does not complete when upgrading to version 5.8.0.
- Unable to log in after the upgrade attempt.
- An OpenSSL-related error may appear (example shown below).
Resolution (Windows)
Set the OpenSSL configuration path in the same Command Prompt window where the update command is being run.
- Open Command Prompt.
- In the same Command Prompt where you will run the update command (
php hs update), set the environment variable:set OPENSSL_CONF=C:\php\extras\ssl\openssl.cnf - Run the update command again:
php hs update
Expected Result
- The update finishes successfully.
- Login works again after the update completes.
This page was: Helpful |
Not Helpful