curl扩展已启用但仍会出错

时间:2016-11-29 09:19:38

标签: curl

enter image description here

我没有使用WAMP或XAMP,我使用的是Windows 10。

我还重新启动了apache并确保加载了正确的php.ini但仍然正在

Call to undefined function curl_init()

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

最有可能的是,你在php初始化过程中遇到错误,在这种情况下,你没有检查错误日志(或者错误记录甚至被禁用了?)

确保你的php.ini有 select i.property_externalid, i.externalid, r.lineitemtypename from ivw_Actuals i inner join rvw_accounts r on r.accountnumber = i.externalid where r.LineItemTypeName = 'OperatingExpense' and i.PropertyAssetId in (select vpropid from tm1_fin_lines_integration where vScenario = '507') and i.externalid not in (select distinct vacctcode, vEntityID from tm1_fin_lines_integration where vScenario = '507' and vLineItemType = 'OperatingExpense') 然后使用phpinfo();验证设置是否在运行时实际设置。

然后检查错误日志。它应该包含错误说明为什么php_curl.dll无法加载。 (我最好的猜测:php_openssl.dll尚未加载,php_curl.dll依赖。在这种情况下,请确保php_openssl.dll已加载 BEFORE php_curl.dll)

相关问题