共享主机上的 PHP Runkit 支持
我正在尝试决定是否应该为我的脚本使用 runkit php 扩展。问题是这些脚本应该在大多数主机上运行,包括共享主机。我找不到任何有关支持 runkit 扩展的主机数量的数字,尽管我怀疑它无法在大多数共享主机上运行,但我想确定一下。那么有人有在(共享)主机上使用 runkit 的经验吗?
谢谢!
I'm trying to decide whether I should use the runkit php extension for my scripts. The problem is that these scripts should work on the majority of hosts, including shared hosts. I couldn't find any numbers about the amount of hosts that support the runkit extension and even though I suspect it won't work on most shared hosts, I'd like to be certain. So does anyone have experience with runkit on (shared) hosts?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您很可能会在大多数主机上获取 runkit 支持时遇到问题。
runkit 并没有被很多人使用,尽管它对于某些事情有明显的实用性(就我而言,我想在框架中支持一些棘手的想法)。
现在,你基本上必须从 github 上获取最新的固定代码并自己编译扩展,这在 Linux 中通常并不难。这是因为“官方”代码无法正确支持 5.3 功能。
You will most likely have issues getting runkit support on the majority of hosts.
runkit isn't used by a lot of folks, despite its obvious utility for certain things (in my case, tricky ideas I'd like to support in a framework).
Right now, you basically have to get the latest fixed code off of github and compile the extension yourself, which isnt that hard in linux usually. This is because the "official" code doesn't support 5.3 features correctly.