Laravel undefined function openssl_encrypt()

后端 未结 9 2263
太阳男子
太阳男子 2020-12-09 05:49

I use laravel5.1 and it works fine on php cli. But i publish my porject to apache(version == 2.4), the problem happened.

FatalErrorException in Encryp

9条回答
  •  借酒劲吻你
    2020-12-09 06:02

    First make sure you installed the openssl extension (spotted by deceze), then:

    1. Go to your php.ini file
    2. Remove the semicolon before extension=php_openssl.dll
    3. Restart your Apache

    I'm expecting this to be the problem.

提交回复
热议问题