I solved it in XAMPP by uncommenting ;extension=php_openssl.dll
in /apache/bin/php.ini
despite phpinfo() telling me /php/php.ini
was the loaded ini file.
EDIT: I guess Ezra answer is the best solution directly adding the extension line to the appropriate ini file.
More Related Contents:
- Setting up SSL on a local xampp/apache server
- Make XAMPP / Apache serve file outside of htdocs folder [closed]
- Where does PHP’s error log reside in XAMPP?
- how to create virtual host on XAMPP [duplicate]
- how to access the command line for xampp on windows
- OPENSSL file_get_contents(): Failed to enable crypto
- WAMP/XAMPP is responding very slow over localhost
- MySQL/PHP Error:[2002] Only one usage of each socket address (protocol/network address/port) is normally permitted
- SSL error SSL3_GET_SERVER_CERTIFICATE:certificate verify failed
- Apache is not running from XAMPP Control Panel ( Error: Apache shutdown unexpectedly. This may be due to a blocked port)
- how to configuring a xampp web server for different root directory
- OpenSSL not working on Windows, errors 0x02001003 0x2006D080 0x0E064002
- using mod_rewrite with XAMPP and windows 7 – 64 bit?
- How can I have CodeIgniter load specific pages using SSL?
- UTF-8 all the way through
- How to get file_get_contents() to work with HTTPS?
- What is the difference between HTTP_HOST and SERVER_NAME in PHP?
- deny direct access to a folder and file by htaccess
- How to check if mod_rewrite is enabled in php?
- Server not parsing .html as PHP
- PHP code is not being executed, but the code shows in the browser source code
- PHP Fatal error: Call to undefined function json_decode()
- Switch php versions on commandline ubuntu 16.04
- Executing a shell script from a PHP script
- Fatal Error – ‘Mongo’ class not found
- Deny ajax file access using htaccess
- Use of Initialization Vector in openssl_encrypt
- how to enable shell_exec and exec on php?
- How do I convert a PHP query string into a slash-based URL?
- Xdebug V3 doesn’t stop breakpoints in VSCode