PHP OpenSSL extension not working while installing TYPO3 6.2.2 on Windows 7

后端 未结 6 1491
北海茫月
北海茫月 2020-12-31 05:21

I\'ve installed TYPO3 6.2.2 on Windows 7 but I got an error message as below:

PHP OpenSSL extension not working Something went wrong while trying to create a ne

6条回答
  •  时光说笑
    2020-12-31 05:47

    To enable OpenSSL on PHP under Windows, three steps must be taken:

    1. enable the extension – make sure to uncomment this line in php.ini:

      extension=php_openssl.dll

    2. Add the PHP folder to the PATH environment variable of Windows:

      Control Panel –> System –> Advanced System Settings –> Environment Variables.
      Locate the Path variable in the System Variables block.
      Prepend c:\php; in front of it, or whatever your PHP path is.

    3. Create an additional OPENSSL_CONF environment variable for Windows which contains the full path of the OpenSSL config file of PHP:

      Control Panel –> System –> Advanced System Settings –> Environment Variables.
      In the System Variables block click New...
      Variable name: OPENSSL_CONF
      Variable value: C:\php\extras\ssl\openssl.cnf
      Modify that value to match your PHP installation directory!

    Restart Windows so the environment changes can take effect.

    Details on PHP OpenSSL support under Windows can be found here.

提交回复
热议问题