PHP Runkit support on shared hosts

276 Views Asked by At

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!

1

There are 1 best solutions below

1
Greywire On BEST ANSWER

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.