Laravel undefined function openssl_encrypt()

后端 未结 9 2253
太阳男子
太阳男子 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:09

    I am using wampserver and i had the same problem. Openssl was enabled in php.ini but there is another ini called phpForApache which has a line to enable openssl too. It worked for me.

提交回复
热议问题