var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
cURL error:Protocol https not supported or disabled in libcurl
I have an issue with libcurl while trying to make an PHP script conecting to an https link using curl, the script returns
than I have checked the server
[ url ] => https : //www.justvoip.com/myaccount/sendsms.php?username=...............
[ http_code ] => 0
[ header_size ] => 0
[ request_size ] => 0
[ filetime ] => - 1
[ ssl_verify_result ] => 0
[ redirect_count ] => 0
[ total_time ] => 0
[ namelookup_time ] => 0
[ connect_time ] => 0
[ pretransfer_time ] => 0
[ size_upload ] => 0
[ size_download ] => 0
[ speed_download ] => 0
[ speed_upload ] => 0
[ download_content_length ] => 0
[ upload_content_length ] => 0
[ starttransfer_time ] => 0
[ redirect_time ] => 0
cURL error number : 1
cURL error : Protocol https not supported or disabled in libcurl
# curl --version
curl 7.15.5 (i686-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Protocols: tftp ftp telnet dict ldap http file https ftps
Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
# curl-config --feature
# openssl version -a
OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
built on: Fri Sep 4 08:29:03 EDT 2009
options: bn(64,32) md2(int) rc4(idx,int) des(ptr,risc1,16,long) blowfish(idx)
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DKRB5_MIT -I/usr/kerberos/include -DL_ENDIAN -DTERMIO -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=generic -fasynchronous-unwind-tables -Wa,--noexecstack -DOPENSSL_USE_NEW_FUNCTIONS -fno-strict-aliasing -DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM
engines: padlock dynamic
Do I still need to recompile the Apache/PHP using Easy Apache in WHM ? or is there an configuration I can make to curl to be able to use SSL.
Could you please confirm that you have compiled php with curlSSL. Please run easyapache to enable curlSSL.
In EasyApache the curlSSL is not checked, I was thinking to ask before because as I seen # curl --version is reporting https, # curl-config --feature shows the SSL .. I was thinking it is already installed and maybe there's some more config to be done to enable it.
Tonight I will try to run EasyApache because I'm not sure if ImageMagick and Imagick will work fine after recompiling PHP, I think I'll have to reinstall ImageMagick also .. this is why I didn't tryed now to recompile it because I have few visited websites (4000+ unique/day) which depends on ImageMagick and Imagick
Easyapache wont affect ImageMagick installation. You can recompile it with curlSSL which will fix the issue.
Thank you. I'll try it and let you guys know.
P.S. so if # curl-config --feature reports SSL and # curl --version supports protocol https, this doesn't mean that SSL is available ?
Please try selecting the curlSSL from easyapache and let me know if you are still having issues.
just a short notice
Imagick doesn't work after recompiling Apache/PHP using Easy Apache
I'll be back with more info after I will fix the issue with ImageMagick and Imagick
Last edited by ovisopa; 01-12-2010 at
The default versions (Imagick & ImageMagick) installed using WHM had some issues and I had to manualy downgrade to another version to make them work ok.
I have reinstalled ( first remove and than install again, NOT update or Reinstall button from WHM) Imagick and it worked.
It seems that what I was afraid off ..did happened. This is why is better to recompile on night time, there's a small chance that things go wrong.
With curlSSL installed my php script is working perfect, now I can send SMS messages from my webpage
By php_techy in forum Programming Discussion
Last Post: 06-22-2009, 01:59 AM
By AndreF in forum Programming Discussion
Last Post: 06-19-2008, 08:15 AM
By DephNet[Paul] in forum Programming Discussion
Last Post: 11-11-2006, 05:41 PM
By DarthClark in forum Hosting Security and Technology
Last Post: 07-14-2006, 09:08 PM
By hoser in forum Hosting Security and Technology
Last Post: 04-11-2002, 03:58 AM