PHP CURL不支持RTMP协议

时间:2016-03-19 12:29:03

标签: php linux curl

我正在尝试使用PHP CURL获取RTMP网址,但不幸的是,php curl说> Protocol" rtmp" libcurl中不支持或禁用

我在Centos 6.7 VPS上安装了rtmpdump并将CURL升级到7.47.1最新稳定版本。 以下是curl -V shell命令的响应

  

curl 7.47.1(x86_64-pc-linux-gnu)libcurl / 7.47.1 OpenSSL / 1.0.1e zlib / 1.2.3 librtmp / 2.3   协议:dict文件ftp ftps gopher http https imap imaps pop3 pop3s rtmp rtsp smb smbs smtp smtps telnet tftp   功能:IPv6 Largefile NTLM NTLM_WB SSL libz UnixSockets

它清楚地显示了对rtmp协议的支持,但是当我检查phpinfo()输出时,它列出了curl下面给出的所有协议,除了rtmp,

  

协议dict,file,ftp,ftps,gopher,http,https,imap,imaps,ldap,ldaps,pop3,pop3s,rtsp,scp,sftp,smb,smbs,smtp,smtps,telnet,tftp

我已尝试过所有内容,升级curl,使用rtmplib支持重建curl,将php升级到5.6但尚未取得任何成功。

在这方面的任何帮助将不胜感激。

0 个答案:

没有答案