在我的wordpress中,当我尝试安装任何插件时,它显示错误(安装失败:下载失败。找不到工作的传输)。我在服务器中启用了curl和openssl,并且还重新启动了服务器。但问题仍未解决。我是使用AWS server.Kindly帮助任何人。
请将其添加到Apache配置文件中:
Below this line: #LoadModule xml2enc_module modules/mod_xml2enc.so
# load curl and open ssl libraries
LoadFile “C:\php\libeay32.dll”
LoadFile “C:\php\ssleay32.dll”
LoadFile “C:\php\libssh2.dll”
And above this line: <IfModule unixd_module>
Stop Apache server using : service httpd stop
Start Apache server using: service httpd start
这应该有所帮助。