我正在尝试通过 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 lib。或者
Call to undefined function curl_init()
我有更改文件 php.ini 滴滴;
在 extension=php_curl.dll
并重新启动服务 httpd 但似乎不起作用。谁能告诉我
最佳答案
关于php - centos如何安装curl php,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63532514/