Call to undefined function Illuminate\Encryption\openssl_decrypt() Call to undefined function Illuminate\Encryption\openssl_decrypt() laravel laravel

Call to undefined function Illuminate\Encryption\openssl_decrypt()


If you have shut XAMPP down and restarted it, it may be worth running the composer install command again, or simply running composer update to ensure that all dependancies are being loaded correctly.


Just edit php.ini file and uncomment by removing ";" before this line --extension=openssl. in php.ini file. and it will start working properly.


Modify php.ini and enable openssl extension in you php environment.

To find php installation path, run below command in terminal or cmd

php --ini

Output something like below:

Configuration File (php.ini) Path: C:\WindowsLoaded Configuration File:         C:\php-7.3.8\php.iniScan for additional .ini files in: (none)Additional .ini files parsed:      (none)

here mine isLoaded Configuration File is C:\php-7.3.8\php.ini

open php.ini with any editor using vim, nano, notepad++ or any editor.

find extension=openssl remove ;

from ;extension=opensslto extension=openssl

save and restart server.