search

Home  >  Q&A  >  body text

In phpStudy7.0.12nts version, curl is extended but not in phpinfo()

The phpStudy downloaded from the official website uses version 7.0.12nts. The curl extension is turned on in php.ini, but this module is not turned on in phpinfo()? The curl_init() method reports an error, and there will be no problem if you switch to 5.6nts. I have searched a lot of ways online, but can't turn on the curl extension! Anyone know what happened?

天空@杰天空@杰2630 days ago6733

reply all(4)I'll reply

  • Yang

    Yang2018-07-27 08:49:06

    Has it been resolved? I'm in the same situation as you. I've tried all the methods mentioned on the Internet about copying the files in php to the bin file, but curl still can't be loaded, but it can be loaded by switching to 5.5 or other versions.

    reply
    0
  • Yang

    Yang2018-07-27 09:05:43

    Download 64-bit php 7.0n https://windows.php.net/download#php-7.0-nts-VC14-x64

    Replace the php70n folder under phpstudy . And copy php.ini from the original folder and put it in.

    Note that other extensions may not be enabled and other extensions will be enabled by themselves. I'll share with you what I just solved.

    reply
    2
  • 城里的野山参

    I tried it, this method is possible, phpinfo can display

    城里的野山参 · 2018-12-07 10:43:21
  • ﺭ打了你一下ﺭ巳寸

    ﺭ打了你一下ﺭ巳寸2017-11-05 16:56:34

    Have you solved it? I have the same problem. The error is as follows

    Message: PHP Startup: Unable to load dynamic library 'D:\software\phpstudy\php\php-7.0.12-nts \ext\php_curl.dll', if you solve it, please give me some advice

    reply
    0
  • Day

    Day2017-10-25 15:01:56

    It’s ok, please check carefully and you’ll see curl is displayed

    reply
    0
  • 天空@杰

    I just searched, and there is no curl module in phpinfo()! That’s why I’m confused! Both 5.6 and 5.6

    天空@杰 · 2017-10-25 15:04:00
    Day

    Reply to Sky@Jack: Yes, you got it wrong. Check it carefully and download it from Baidu first.

    Day · 2017-10-25 15:04:55
  • Cancelreply