How does Ali Cloud win 2018 R2 php7.2+apache2.4 use curl extensions?

for example,
I cannot load curl extensions according to various configurations on the Internet

there is no curl information in phpinfo

ask for help

Mar.15,2021

all kinds of methods have been tried and it is of no use

It only takes two steps to complete curl in

php7+apache2.4 windows.

  1. php.ini enable curl extension
  2. configure the windows environment variable to write the php directory to path

ok


. There is no curl under Windows. If you want to open up, you should need to find the corresponding plug-in separately. If it is not a fully integrated thing like phpStudy, it will probably take a long time to look for it. Of course, I do not recommend phpStudy, which is only suitable for learning on the development machine or temporary debugging, but it is not appropriate to throw it into the production system.

in the final analysis, if you don't use IIS, it is not recommended to use Windows as a server. Do not be sentimentally attached to the GUI interface, you use the pagoda panel (please pay the advertising fee here, thank you) is the same graphical interface, and usability is much stronger (after all, all the server management), and there are so many images on Aliyun can be directly brushed to the ECS also do not need to dress up, file operation to be honest with a FTP, then you operate locally is also a graphical interface, so there is no reason to use Win? After all, you really don't use IIS.


php --ini


phpinfo()
Loaded Configuration File => /path/to/php.ini

apachecliphp
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e44e64-44b05.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e44e64-44b05.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?