PHP unable to load php_curl.dll extension

后端 未结 13 2513
暖寄归人
暖寄归人 2020-11-29 08:58

Follow-up from my post yesterday (Enabling cURL with PHP)

The problem is that PHP isn\'t able to load php_curl.dll. I\'ve tried several steps including uncommenting

13条回答
  •  遥遥无期
    2020-11-29 09:42

    You are loading .dll so your OS has to be windows.

    First check which php.ini file you are using by running phpinfo()

    Then check where your extensions folder is by checking extension_dir attribute in that file.

    Next make sure that php_curl.dll is present in that folder. If not copy it over.

    Restart apache and check if it works.

    Since you installed packages individually, also do this:

    Copy the dll file from php_installation_folder/extensions to apache_installation_folder/bin

提交回复
热议问题