【发布时间】:2020-12-11 09:50:29
【问题描述】:
我正在尝试通过 yum 将 curl 安装到我的 centos 操作系统 当我检查时
curl --version
它显示
curl 7.19.7 (x86_64-redhat-linux-gnu) libcurl/7.19.7 NSS/3.44 zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz
但是当我运行php -m 时仍然没有得到 curl 库。
或者
Call to undefined function curl_init()
我通过将; 放在extension=php_curl.dll 更改文件php.ini 并重新启动服务httpd 但似乎不起作用。谁能告诉我
【问题讨论】:
标签: php curl centos php-curl php-ini