共 5 篇文章 |
|
iis php mysql 500错误。php-7.1.28-nts-Win32-VC14-x64.zip VC14: Visual C++ 2015 x64.安装配置PHP7.将下载的 php-7.3.2-nts-Win32-VC15-x64.zip (IIS选 nts 版) 解压到 D:\PHP 7.3.2\ 目录下,复制 php.ini-production 重命名为 php.ini.1. 打开php.ini,设置php扩展库存放目录。找到 extension_dir = "ext" 这一行,把前面的 ... 阅22 转0 评0 公众公开 21-03-02 13:54 |
1. 调用curl_global_init()初始化libcurl 2. 调用 curl_easy_init()函数得到 easy interface型指针 3. 调用curl_easy_setopt设置传输选项 4. 根据curl_easy_setopt设置的传输选项,实现回调函数以完成用户特定任务 5. 调用curl_easy_perform()函数完成传输任务 6. 调用curl_easy_cleanup()释放内存。4... 阅190 转0 评0 公众公开 21-02-26 11:29 |
这个函数最重要了.几乎所有的curl 程序都要频繁的使用它.它告诉curl库.程序将有如何的行为. 比如要查看一个网页的html代码等.(这个函数有些像ioctl函数)参数:1 CURL类型的指针2 各种CURLoption类型的选项.(都在curl.h库里有定义,man 也可以查看到)3 parameter 这个参数 既可以是个函数的指针,也可以是某个对象的指针,也可以是个long型的变量.它... 阅49 转0 评0 公众公开 21-02-26 11:28 |
Http协议之详解一、http协议的特性。http协议的的特点是无状态,无连接二、http协议的请求。在 HTTP 1.0 版本中,并没有官方的标准来规定 Keep-Alive 如何工作,因此实际上它是被附加到 HTTP 1.0协议上,如果客户端浏览器支持 Keep-Alive ,那么就在HTTP请求头中添加一个字段 Connection: Keep-Alive,当服务器收到附带有 Connection: Keep-Ali... 阅42 转0 评0 公众公开 21-02-26 11:11 |
nginx location配置详细解释。访问 http://localhost/a.gif, http://localhost/b.jpg 将匹配规则D和规则E,但是规则D顺序优先,规则E不起作用, 而 http://localhost/static/c.png 则优先匹配到 规则C.$host:localhost$server_port:88$request_uri:http://localhost:88/test1/test2/test.php$document_uri:/test1/test2/test.php$document_... 阅101 转0 评0 公众公开 21-02-04 10:45 |