Hi guys,
Been running LiteSpeed for 6 months, and so far I am pretty happy with it.
Today, I needed to to cURL an https URL with PHP, but the script returned this error:
HTTP ERROR: cURL ERROR: 1: Protocol https not supported or disabled in libcurl
My PHP is compiled with cURL and SSL, so I don't really know why this error is popping up.
Take at look at my phpinfo():
http://meiler.com/phpinfo.php
Do you have any idea about this error? should I recompile curl or something. Any thoughts would be appreciated!
PD: I tried the same script on my Windows machine and it worked perfectly.
Been running LiteSpeed for 6 months, and so far I am pretty happy with it.
Today, I needed to to cURL an https URL with PHP, but the script returned this error:
HTTP ERROR: cURL ERROR: 1: Protocol https not supported or disabled in libcurl
My PHP is compiled with cURL and SSL, so I don't really know why this error is popping up.
Code:
'--disable-pdo' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-sockets' '--enable-wddx' '--prefix=/usr/local' '--with-bz2' '--with-curl=/opt/curlssl/' '--with-curlwrappers' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libdir=lib64' '--with-libexpat-dir=/usr' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pic' '--with-png-dir=/usr' '--with-ttf' '--with-xmlrpc' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr'
http://meiler.com/phpinfo.php
Code:
cURL support enabled
cURL Information libcurl/7.19.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
PD: I tried the same script on my Windows machine and it worked perfectly.
Last edited by a moderator: