I am running a Laravel app locally and it throws the error
Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()
Expected Behavior
I haven't had this issue until I reformatted my PC and reinstalled my usual apps under scoop. As indicated, extension=openssl is not commented out in the php.ini file
Additional context/output
php.ini
;;;;;;;;;;;;;;;;;;;;;;
; Dynamic Extensions ;
;;;;;;;;;;;;;;;;;;;;;;
extension=bz2
extension=curl
extension=fileinfo
extension=gd2
extension=gettext
extension=gmp
extension=intl
extension=imap
;extension=interbase
extension=ldap
extension=mbstring
extension=exif ; Must be after mbstring as it depends on it
extension=mysqli
;extension=oci8_12c ; Use with Oracle Database 12c Instant Client
;extension=odbc
extension=openssl
;extension=pdo_firebird
extension=pdo_mysql
;extension=pdo_oci
;extension=pdo_odbc
extension=pdo_pgsql
extension=pdo_sqlite
extension=pgsql
extension=shmop
phpinfo():
openssl
OpenSSL support => enabled
OpenSSL Library Version => OpenSSL 1.1.1l 24 Aug 2021
OpenSSL Header Version => OpenSSL 1.1.1l 24 Aug 2021
Openssl default config => C:\usr\local\ssl/openssl.cnf
Directive => Local Value => Master Value
openssl.cafile => no value => no value
openssl.capath => no value => no value
I just tried using XAMPP's php.exe and all valet test sites loaded. I failed to mention earlier that each local site also loads when served via php artisan serve.
Bug Report
Current Behavior
I am running a Laravel app locally and it throws the error
Call to undefined function Illuminate\Encryption\openssl_cipher_iv_length()
Expected Behavior
I haven't had this issue until I reformatted my PC and reinstalled my usual apps under scoop. As indicated,
extension=openssl
is not commented out in thephp.ini
fileAdditional context/output
php.ini
phpinfo()
:php --ini
:System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 5.1.22621.169
Scoop Configuration