Topic: curl.x86_64 7.21 no ssl support
Hi thanks for the excellent work with the repo. Is it possible to build curl with ssl support? I Installed it today but it does not seem to have SSL support.
Thanks.
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 8.0 is EOL - PHP 8.1.28 - PHP 8.2.18 - PHP 8.2.19RC1 - PHP 8.3.6 - PHP 8.3.7RC1
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → User support → curl.x86_64 7.21 no ssl support
Hi thanks for the excellent work with the repo. Is it possible to build curl with ssl support? I Installed it today but it does not seem to have SSL support.
Thanks.
Not enough information to understand your problem
$ php -i
...
curl
cURL support => enabled
cURL Information => 7.21.7
Age => 3
Features
AsynchDNS => Yes
Debug => No
GSS-Negotiate => Yes
IDN => Yes
IPv6 => Yes
Largefile => Yes
NTLM => Yes
SPNEGO => No
SSL => Yes
SSPI => No
krb4 => No
libz => Yes
CharConv => No
Protocols => dict, file, ftp, ftps, gopher, http, https, imap, imaps, ldap, ldaps, pop3, pop3s, rtsp, scp, sftp, smtp, smtps, telnet, tftp
Host => x86_64-redhat-linux-gnu
SSL Version => OpenSSL/0.9.8b
ZLib Version => 1.2.3
libSSH Version => libssh2/1.2.7
So SSL support is there.
Okay this is strange
PHP Info:
curl
cURL support enabled
cURL Information 7.29.0
Age 3
Features
AsynchDNS No
Debug No
GSS-Negotiate No
IDN No
IPv6 No
Largefile Yes
NTLM No
SPNEGO No
SSL No
SSPI No
krb4 No
libz No
CharConv No
Protocols dict, file, ftp, gopher, http, imap, pop3, rtsp, smtp, telnet, tftp
Host x86_64-unknown-linux-gnu
yum list curl:
Installed Packages
curl.i386 7.15.5-15.el5 installed
curl.x86_64 7.21.7-5.el5.remi.2 installed
[root@host ~]# rpm -qa | grep curl
libcurl-7.21.7-5.el5.remi.2
curl-7.21.7-5.el5.remi.2
compat-libcurl3-7.15.5-2.el5.remi
curl-7.15.5-15.el5
So the curl loaded into php is 7.29
and the curl packages installed on the system are 7.15 and 7.21, where is php pulling the 7.29 extension from?
I don't know... where does your php comes from ?
Something compiled manually ?
rpm -qa php\* curl\*
rpm -V curl libcurl
[root@g ~]# rpm -qa php\* curl\*
php-5.4.11-1.el5.remi
php-gd-5.4.11-1.el5.remi
php-mysql-5.4.11-1.el5.remi
php-sqlite-5.3.21-14.el5.art
php-common-5.4.11-1.el5.remi
php-ioncube-loader-4.2.2-2.el5.art
php-imap-5.4.11-1.el5.remi
curl-7.21.7-5.el5.remi.2
php-cli-5.4.11-1.el5.remi
php-pdo-5.4.11-1.el5.remi
php-xml-5.4.11-1.el5.remi
curl-7.15.5-15.el5
php-common-5.3.21-14.el5.art
php-devel-5.4.11-1.el5.remi
php-mbstring-5.4.11-1.el5.remi
[root@g ~]# rpm -V curl libcurl
S.5..... d /usr/share/man/man1/curl.1.gz
Thanks for the help man.
Okay so I noticed that php-common was not the remi package so I managed to remove that and install the remi package, and now it looks like this:
[root@somewhere ~]# rpm -qa php\* curl\*
php-gd-5.4.11-1.el5.remi
php-mysql-5.4.11-1.el5.remi
curl-7.21.7-5.el5.remi.2
php-ioncube-loader-4.2.2-2.el5.art
php-imap-5.4.11-1.el5.remi
php-pear-1.9.4-12.el5.remi.1
php-cli-5.4.11-1.el5.remi
php-pdo-5.4.11-1.el5.remi
php-xml-5.4.11-1.el5.remi
php-pecl-sqlite-2.0.0-0.1.svn313074.el5.remi
php-common-5.4.11-1.el5.remi
php-devel-5.4.11-1.el5.remi
php-mbstring-5.4.11-1.el5.remi
php-5.4.11-1.el5.remi
But
[root@somewhere ~]# php -i | grep -A 25 curl
curl
cURL support => enabled
cURL Information => 7.29.0
Age => 3
Features
AsynchDNS => No
Debug => No
GSS-Negotiate => No
IDN => No
IPv6 => No
Largefile => Yes
NTLM => No
SPNEGO => No
SSL => No
SSPI => No
krb4 => No
libz => No
CharConv => No
Protocols => dict, file, ftp, gopher, http, imap, pop3, rtsp, smtp, telnet, tftp
Host => x86_64-unknown-linux-gnu
Still showing the wrong version of curl in phpinfo()
hmmmmm
I fixed this, I had to post the message on pastebin as when posting here it says too many links???
So it now works! I guess this was due to a bad removal of libcurl and it left some files behind.
Thanks for the repo it saved my day!
Remi's RPM repository - Forum → User support → curl.x86_64 7.21 no ssl support
Generated in 0.020 seconds (90% PHP - 10% DB) with 8 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.