• <tfoot id='D7fFM'></tfoot>
        <i id='D7fFM'><tr id='D7fFM'><dt id='D7fFM'><q id='D7fFM'><span id='D7fFM'><b id='D7fFM'><form id='D7fFM'><ins id='D7fFM'></ins><ul id='D7fFM'></ul><sub id='D7fFM'></sub></form><legend id='D7fFM'></legend><bdo id='D7fFM'><pre id='D7fFM'><center id='D7fFM'></center></pre></bdo></b><th id='D7fFM'></th></span></q></dt></tr></i><div id='D7fFM'><tfoot id='D7fFM'></tfoot><dl id='D7fFM'><fieldset id='D7fFM'></fieldset></dl></div>
      1. <legend id='D7fFM'><style id='D7fFM'><dir id='D7fFM'><q id='D7fFM'></q></dir></style></legend>
        • <bdo id='D7fFM'></bdo><ul id='D7fFM'></ul>

        <small id='D7fFM'></small><noframes id='D7fFM'>

        用curl编译php,curl安装在哪里?

        Compiling php with curl, where is curl installed?(用curl编译php,curl安装在哪里?)

        • <bdo id='mnCsv'></bdo><ul id='mnCsv'></ul>
        • <tfoot id='mnCsv'></tfoot>
            <legend id='mnCsv'><style id='mnCsv'><dir id='mnCsv'><q id='mnCsv'></q></dir></style></legend>

              <tbody id='mnCsv'></tbody>
            • <i id='mnCsv'><tr id='mnCsv'><dt id='mnCsv'><q id='mnCsv'><span id='mnCsv'><b id='mnCsv'><form id='mnCsv'><ins id='mnCsv'></ins><ul id='mnCsv'></ul><sub id='mnCsv'></sub></form><legend id='mnCsv'></legend><bdo id='mnCsv'><pre id='mnCsv'><center id='mnCsv'></center></pre></bdo></b><th id='mnCsv'></th></span></q></dt></tr></i><div id='mnCsv'><tfoot id='mnCsv'></tfoot><dl id='mnCsv'><fieldset id='mnCsv'></fieldset></dl></div>

                <small id='mnCsv'></small><noframes id='mnCsv'>

                  本文介绍了用curl编译php,curl安装在哪里?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  --with-curl=

                  curl 二进制文件位于 /usr/bin/curl

                  The curl binary is located at /usr/bin/curl

                  curl -V 给我

                  curl 7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
                  

                  locate curl 给我

                  /usr/bin/curl
                  /usr/lib/libcurl.so.3
                  /usr/lib/libcurl.so.3.0.0
                  /usr/lib64/libcurl.so.3
                  /usr/lib64/libcurl.so.3.0.0
                  

                  删除了/usr/share/... 和其他不相关的文件

                  更新

                  尝试了 --with-curl=/usr/lib64--with-curl=/usr/lib 虽然我很确定它是 64 位的.

                  Tried --with-curl=/usr/lib64 and --with-curl=/usr/lib although I'm pretty sure it's 64 bit.

                  checking for cURL support... yes
                  checking if we should use cURL for url streams... no
                  checking for cURL in default path... not found
                  configure: error: Please reinstall the libcurl distribution -
                      easy.h should be in <curl-dir>/include/curl/
                  

                  解决方案

                  PHP 需要 curl-devel

                  PHP requires curl-devel

                  推荐答案

                  这些都不允许您在启用 cURL 的情况下编译 PHP.

                  None of these will allow you to compile PHP with cURL enabled.

                  为了使用 cURL 进行编译,您需要 libcurl 头文件(.h 文件).它们通常位于 /usr/include/curl 中.它们通常捆绑在一个单独的开发包中.

                  In order to compile with cURL, you need libcurl header files (.h files). They are usually found in /usr/include/curl. They generally are bundled in a separate development package.

                  例如,在 Ubuntu 中安装 libcurl:

                  Per example, to install libcurl in Ubuntu:

                  sudo apt-get install libcurl4-gnutls-dev
                  

                  或 CentOS:

                  sudo yum install curl-devel
                  

                  然后你可以这样做:

                  ./configure --with-curl # other options...
                  

                  如果您手动编译 cURL,您可以指定不带 libinclude 后缀的文件路径.(例如:/usr/local 如果 cURL 标头在 /usr/local/include/curl 中).

                  If you compile cURL manually, you can specify the path to the files without the lib or include suffix. (e.g.: /usr/local if cURL headers are in /usr/local/include/curl).

                  这篇关于用curl编译php,curl安装在哪里?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                    <i id='5A8Kl'><tr id='5A8Kl'><dt id='5A8Kl'><q id='5A8Kl'><span id='5A8Kl'><b id='5A8Kl'><form id='5A8Kl'><ins id='5A8Kl'></ins><ul id='5A8Kl'></ul><sub id='5A8Kl'></sub></form><legend id='5A8Kl'></legend><bdo id='5A8Kl'><pre id='5A8Kl'><center id='5A8Kl'></center></pre></bdo></b><th id='5A8Kl'></th></span></q></dt></tr></i><div id='5A8Kl'><tfoot id='5A8Kl'></tfoot><dl id='5A8Kl'><fieldset id='5A8Kl'></fieldset></dl></div>
                      • <bdo id='5A8Kl'></bdo><ul id='5A8Kl'></ul>

                        1. <tfoot id='5A8Kl'></tfoot>
                            <tbody id='5A8Kl'></tbody>

                          • <legend id='5A8Kl'><style id='5A8Kl'><dir id='5A8Kl'><q id='5A8Kl'></q></dir></style></legend>

                            <small id='5A8Kl'></small><noframes id='5A8Kl'>