Hey guys im running PHP 5.4.0 and I cannot cURL nor files_get_content() https connections.
Using curl in a PHP script shows:
[root@ns1]# /opt/php/bin/php -q test.php * About to connect() to www.google.com port 443 * Trying 220.127.116.11... * connected * Connected to www.google.com (18.104.22.168) port 443 * successfully set certificate verify locations: * CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none Segmentation fault
Using file_get_contents() shows:
Warning: file_get_contents(): Unable to find the wrapper "https" - did you forget to enable it when you configured PHP? in /test.php
OpenSSL and OpenSSL-devel are installed, and PHP is also configured with cURL support for SSL connections. See: http://i.imgur.com/ExAIf.png
Any idea what might be going wrong?
Further info: CentOS 5.8(64) with Nginx 1.2.4