• <tfoot id='Ctg9P'></tfoot>

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

    • <bdo id='Ctg9P'></bdo><ul id='Ctg9P'></ul>

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

        在 MAMP 环境中安装 PHP OAuth

        时间:2023-07-16

              <tbody id='U0fwI'></tbody>
              <bdo id='U0fwI'></bdo><ul id='U0fwI'></ul>

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

                1. <i id='U0fwI'><tr id='U0fwI'><dt id='U0fwI'><q id='U0fwI'><span id='U0fwI'><b id='U0fwI'><form id='U0fwI'><ins id='U0fwI'></ins><ul id='U0fwI'></ul><sub id='U0fwI'></sub></form><legend id='U0fwI'></legend><bdo id='U0fwI'><pre id='U0fwI'><center id='U0fwI'></center></pre></bdo></b><th id='U0fwI'></th></span></q></dt></tr></i><div id='U0fwI'><tfoot id='U0fwI'></tfoot><dl id='U0fwI'><fieldset id='U0fwI'></fieldset></dl></div>
                  <legend id='U0fwI'><style id='U0fwI'><dir id='U0fwI'><q id='U0fwI'></q></dir></style></legend>
                2. <tfoot id='U0fwI'></tfoot>
                3. 本文介绍了在 MAMP 环境中安装 PHP OAuth的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我已经尝试按照所有关于在 MAMP 环境下安装 PHP OAuth 扩展的教程进行操作,但由于某种原因无法加载它.

                  I have tried following ALL tutorials out there on getting PHP OAuth extension installed under the MAMP environment, but can't get it to load for some reason.

                  我使用 MAMP 1.9 和 PHP 5.3.2

                  I am using MAMP 1.9 with PHP 5.3.2

                  我最近的教程是:http://lifeofadev.com/2011/03/09/mac-os-x-installing-oauth-so-into-xampp-mamp/

                  有没有其他人有过让它发挥作用的经验?

                  Does anyone else have experience with getting this to work?

                  谢谢!丹尼斯

                  推荐答案

                  升级到 MAMP 2.0 for PHP 5.2.17 后,我按照以下步骤安装了 >oauth 模块通过 pecl

                  After upgrading to MAMP 2.0 for PHP 5.2.17 I followed these steps to install the oauth module through pecl

                  1. 下载MAMP 服务器组件和库 特别是您需要 php-5.2.17.tar.gz
                  2. 将 php-5.2.17.tar.gz 解压到/Applications/MAMP/bin/php/php5.2.17/include/php
                  3. 针对下载的 php 运行配置.不要构建它.

                  1. Download MAMP Server components and libraries Specifically you want php-5.2.17.tar.gz
                  2. Uncompress php-5.2.17.tar.gz to /Applications/MAMP/bin/php/php5.2.17/include/php
                  3. Run configure against the downloaded php. Do not build it.

                  cd/Applications/MAMP/bin/php/php5.2.17/include/php;./configure

                  cd /Applications/MAMP/bin/php/php5.2.17/include/php; ./configure

                  删除损坏的梨配置:

                  mv/Applications/MAMP/bin/php/php5.2.17/conf/pear.conf/Applications/MAMP/bin/php/php5.2.17/conf/pear.conf.bak

                  mv /Applications/MAMP/bin/php/php5.2.17/conf/pear.conf /Applications/MAMP/bin/php/php5.2.17/conf/pear.conf.bak

                  编译 oauth

                  cd/Applications/MAMP/bin/php/php5.2.17/bin;./pecl 安装 oauth

                  cd /Applications/MAMP/bin/php/php5.2.17/bin; ./pecl install oauth

                  更新 php.ini 并添加 extension=oauth.so 这可以在 MAMP 中的 File -> Edit Template -> PHP -> PHP 5.2.17 php.ini 下完成

                  Update php.ini and add extension=oauth.so This can be done in MAMP under File -> Edit Template -> PHP -> PHP 5.2.17 php.ini

                  这篇关于在 MAMP 环境中安装 PHP OAuth的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:如何将 OAuth 与 PHP 和 cURL 结合使用? 下一篇:Google OAuth2 登录 - 获取 YouTube 昵称和真实电子邮件地址

                  相关文章

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

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

                    <tfoot id='s5csK'></tfoot>
                    <legend id='s5csK'><style id='s5csK'><dir id='s5csK'><q id='s5csK'></q></dir></style></legend>