Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

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

Featured Replies

Hi All,

Recently I have installed Laravel 8 but 127.0.0.1:8000 (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 "127.0.0.1:8000" 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

Andrew

   

laravel error.JPG

  • 3 years later...

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.