PECL extension for Windows

前端 未结 6 1300
刺人心
刺人心 2020-12-23 17:37

I found a few related posts here but didn\'t get my answer. So posting again.
How would I install a PECL extension on windows? Say I want the PECL oAuth extension on Win

6条回答
  •  隐瞒了意图╮
    2020-12-23 18:12

    The php source ships with a set of configuration scripts for windows (using windows script host) that mimics the autoconf tools as far as php is concerned. If you place the code for the extension in a directory under the /ext directory (where all the other extensions like bcmath, bzip, ... are located) you can let the buildconf-script create a makefile that includes the build rules for that (new) extension.
    There's a step-by-step walk-through at http://wiki.php.net/internals/windows/stepbystepbuild which seems to be brief but feasible.

提交回复
热议问题