I get an error: “Unable to find the wrapper https” when i execute file_get_contents via apache.
I have already configured extension=openssl in php.ini.
i try to dump the wrappers by using
echo var_dump(stream_get_wrappers());
and the result shows
.
It seems that the https wrapper is indeed missing.
but file_get_contents works well under php interactive shell and stream_get_wrappers shows wrapper has been loaded as

what could be the reason for those different behaviours between apache and php shell?
many thanks in advance for any hints
Environment: Apache 2.4.57 Win64 + PHP 8.2 (8.2.6) VS16 x64 Thread Safe