Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()

Updated at 23-Feb-2022, By samar

Call to undefined function IlluminateEncryptionopenssl_cipher_iv_length()

In this session, we are going to try to solve the "Call to undefined function IlluminateEncryptionopenssl_cipher_iv_length()" puzzle by using the computer language.

You have to enable or add openssl extension to php.ini file to solve the error Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length() in Laravel.
  • Enable openssl extension

    --PATH E:\laragon\bin\php\php-8.0.16-Win32-vs16-x64\php.ini
    extension=openssl
    

    Enable openssl extension by removing the ; from the ;extension=openssl in php.ini file.

    Find ;extension=openssl in php.ini file and remove ; from it or just place extension=openssl in case you did not find the ;extension=openssl in php.ini.

    Additional Note:

    File path may be different.

Back to code snippet queries related laravel