PHP 包含在 Windows 中吗?

发布于 2024-07-07 05:54:07 字数 431 浏览 15 评论 0 原文

是否有 包含 扩展的 .dll 版本 < a href="https://www.php.net/manual/en/intro.inclued.php" rel="nofollow noreferrer">PHP? 包含在 PECL4WIN 的手册链接没有帮助。 我没有编译器来构建我自己的 DLL。

注意:“包括”的拼写是正确的!

编辑:我没有编译器,但确实知道有人有编译器......但这确实是最后的手段。

Is there a .dll version of the inclued extension for PHP?
The manual's link for Inclued on PECL4WIN doesn't help. I don't have a compiler to build my own DLL.

NOTE: The spelling "inclued" is correct!

Edit: I don't have a compiler, but do know someone with one... that's really a last resort though.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

漫漫岁月 2024-07-14 05:54:07

据我所知,Windows 版本已经不存在了。 也许之前维护它的人因某种原因不得不停止。

我想知道在 Windows 下编译 PECL 扩展需要什么。


编辑

以下是有关编译不同 PECL 扩展的一些信息Windows。 您也许可以推断出所包含的扩展。


编辑

WAMP 服务器 附带 PECL 和 梨。 实际上,我可以从 Windows 命令行运行命令 pecl install inclued-alpha ,它会尝试从 PECL 站点获取包含的扩展。

不幸的是,当它解压 .tgz 文件并尝试编译它时,它就死了

ERROR:  The DSP inclued.dsp does not exist.

As best as I can tell, the Windows version doesn't exist anymore. Maybe whoever was maintaining it before had to stop for some reason.

I wonder what it takes to compile a PECL extension under Windows.


Edit

Here's some info on compiling a different PECL extension on Windows. You may be able to extrapolate to the inclued extension.


Edit

WAMP Server comes with PECL & PEAR. I can actually run the command pecl install inclued-alpha from the Windows command-line and it goes out and tries to grab the inclued extension from the PECL site.

Unfortunately it dies when it unpacks the .tgz file and tries to compile it

ERROR:  The DSP inclued.dsp does not exist.
℡Ms空城旧梦 2024-07-14 05:54:07

您运行的是哪个版本的 PHP? 我知道有人可以为你编译一个版本。

更新

好吧,编译好了 - 我已经在我的 5.2.6 版本上进行了测试,它似乎工作正常。

有人告诉我在线程环境(例如Windows)中使用它可能会出现问题,但这只是可能。 另外:

[13:10] <g0pz> the inclued dumpfiles will collide, because it uses PID # + increments
[13:11] <g0pz> but command line should work ok
[13:12] <g0pz> is the threaded apache version which'll have the same PID and well, a "possible" collision 

祝你好运:)

下载

Which version of PHP are you running? I know someone that can compile you a version.

update

Alright, got this compiled - I've tested on my 5.2.6 build and it seems to work fine.

I've been told there may be problems using it in a threaded environment (e.g. Windows) but that's only a maybe. Also:

[13:10] <g0pz> the inclued dumpfiles will collide, because it uses PID # + increments
[13:11] <g0pz> but command line should work ok
[13:12] <g0pz> is the threaded apache version which'll have the same PID and well, a "possible" collision 

So good luck with it :)

download

我只土不豪 2024-07-14 05:54:07

如果您有任何问题,请戳我。

我即将发布一个版本,我将在 Windows 中执行 mkstemp(),而不是选择 PID + 计数。

希望还可以使用 gensvg.php,它可以使用 pear::Image::GraphViz 在浏览器中呈现有向图。

Poke me if you have any issues with inclued.

I'm just on the verge of putting out a release, I'll do a mkstemp() in windows instead of picking the PID + count.

Hopefully also with a gensvg.php which'll render the di-graph in-browser with pear::Image::GraphViz.

白馒头 2024-07-14 05:54:07

这不是他们的DLL下载站点吗? http://pecl4win.php.net/list_dlls.php

除非我离开了我的浏览网站?

Isn't this their DLL download site? http://pecl4win.php.net/list_dlls.php

Unless I'm off on my browsing of the site?

不离久伴 2024-07-14 05:54:07

这是您正在寻找的页面吗?

http://pecl4win.php.net/list_dlls.php

..编辑:(男人,我们很快。我发誓这两个重复的答案是同时发布的)

Is this the page you are looking for?

http://pecl4win.php.net/list_dlls.php

..edit: (man, we are fast. I swear these two duplicate answers were posted simultaniously)

霊感 2024-07-14 05:54:07

官方 PHP for Windows 网站说:

PECL Windows 版

Windows 的 PECL 扩展正在开发中。 界面上的
pecl 网站很可能会更新以提供 Windows DLL 下载
就从该网站。 同时,可以找到一些扩展
此处

该“此处”链接指向 http://downloads.php.net/pierre/,您可以在其中在众多其他扩展中,您会发现包括 PHP 5.2 和 5.3、VC6 和 VC9、线程安全和非线程安全的构建。 与我的 PHP 版本相匹配的那个似乎可以工作。

The official PHP for Windows site says:

PECL For Windows

PECL extensions for Windows is being worked on. The interface on the
pecl website will most likely be updated to offer Windows DLL download
right from that website. In the meantime, some extensions can be found
here.

That "here" link leads to http://downloads.php.net/pierre/, where you will find, among the multitude of other extensions, builds of inclued for PHP 5.2 and 5.3, VC6 and VC9, thread-safe and non-thread-safe. The one matching my version of PHP seems to be working.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文