In phpStudy7.0.12nts version, curl is extended but not in phpinfo()
天空@杰
天空@杰 2017-10-25 14:46:46
0
4
6692

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?

天空@杰
天空@杰

reply all(4)
Yang

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.

Yang

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 I tried it, this method is possible, phpinfo can display
    城里的野山参 author 2018-12-07 10:43:21
ﺭ打了你一下ﺭ巳寸

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

Day

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

  • reply I just searched, and there is no curl module in phpinfo()! That’s why I’m confused! Both 5.6 and 5.6
    天空@杰 author 2017-10-25 15:04:00
  • reply Reply to Sky@Jack: Yes, you got it wrong. Check it carefully and download it from Baidu first.
    Day author 2017-10-25 15:04:55
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template