简体   繁体   English

共享主机上的 PHP Runkit 支持

[英]PHP Runkit support on shared hosts

I'm trying to decide whether I should use the runkit php extension for my scripts.我正在尝试决定是否应该为我的脚本使用 runkit php 扩展。 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.我找不到有关支持 runkit 扩展的主机数量的任何数字,即使我怀疑它不适用于大多数共享主机,我也想确定一下。 So does anyone have experience with runkit on (shared) hosts?那么有人在(共享)主机上使用过 runkit 吗?

Thanks!谢谢!

You will most likely have issues getting runkit support on the majority of hosts.在大多数主机上获得 runkit 支持时,您很可能会遇到问题。

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). runkit 并没有被很多人使用,尽管它对某些事情有明显的实用性(在我的情况下,我想在框架中支持一些棘手的想法)。

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.现在,您基本上必须从 github 获取最新的固定代码并自己编译扩展,这通常在 linux 中并不难。 This is because the "official" code doesn't support 5.3 features correctly.这是因为“官方”代码不正确支持 5.3 功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM