Jump to content
The Uniform Server Community

'Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()'


Recommended Posts

Hi All,

Recently I have installed Laravel 8 but (it is defined by laravel artisan serve) shown error message as below:

'Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()'

In order to solve the above problem, the working items were done towards uniform server in the following:

  1. extension=openssl  was uncommented
  2. Adding dll files to directory : "... \core\php74\"  included : libcrypto-1_1-x64.dll, libssl-1_1-x64.dll, libeay32.dll, ssleay32.dll
  3. Adding dll files to directory: "... \core\php74\extension\" included  php_mcrypt.dll , and also added extension=mcrypt
  4. I checked PATH included  "... \core\php74\extension" and  "... \core\php74\ and ...\core\apache2\conf\openssl.cnf" and "...\core\apache2\bin\" and "...\core\openssl\openssl.cnf"
  5. Runing PHP file  <?php $method 'AES-128-CBC'$ivlen openssl_cipher_iv_length($method); echo $ivlen?> and the result is OK to proof that openssl is normal

But it is too upset that I do not know why openssl function is undefined when it is to run under Laravel 8 artisan serve

Attached please find the screenshot of "" error message 

If you have any idea,  would you be kind enough that please advise what I can do to solve the above problem

Thank you for your kind attention



laravel error.JPG

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...