Versions
Versions copied to clipboard
[Bug] php73 - OpenSSL not Detected
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 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
php --ini:
Configuration File (php.ini) Path:
Loaded Configuration File: (none)
Scan for additional .ini files in: C:\Users\spind\scoop\apps\php73\current\cli;C:\Users\spind\scoop\apps\php73\current\cli\conf.d;
Additional .ini files parsed: C:\Users\spind\scoop\apps\php73\current\cli\php.ini
System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 5.1.22621.169
Scoop Configuration
{
"lastUpdate": "2022-10-01T09:03:49.7239161+08:00",
"SCOOP_REPO": "https://github.com/ScoopInstaller/Scoop",
"SCOOP_BRANCH": "master"
}
UPDATE:
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.