我正在尝试在windows计算机上使用Runkit。PHP版本为5.6.14,windows版本为Windows 8 Enterprise,runkit版本为1.0.4。
我已经建好了。我确认了DLL在正确的目录中。
我将以下行添加到php.ini
extension=php_runkit.dll我调用了runkit_superglobals()函数,得到了以下输出。
Warning: PHP Startup: Unable to load dynamic library 'C:\xampp\php\ext\php_runkit.dll' - The specified module could not be found.
in Unknown on line 0
Fatal error: Call to undefined function runkit_superglobals() in V:\inventory2\tests\bootstrap.php on line 5我返回到php目录并运行
deplister ext\php_runkit.dll输出结果是
php5.dll,NOTFOUND
MSVCR110.dll,OK
KERNEL32.dll,OK我确认我在php目录中有php5ts.dll,如上所述,我运行的是php版本5.6.14。
发布于 2016-06-29 09:44:33
我认为问题在于PHP是x64,DLL是x86,反之亦然。
发布于 2016-06-30 06:36:33
只需尝试以下DLL之一:https://github.com/Crack/runkit-windows
https://stackoverflow.com/questions/38062646
复制相似问题