[英]How do I build runkit for Windows?
I am trying to use Runkit on a windows machine. 我试图在Windows计算机上使用Runkit。 PHP version is 5.6.14, windows version is Windows 8 Enterprise, runkit version is 1.0.4. PHP版本是5.6.14,Windows版本是Windows 8 Enterprise,runkit版本是1.0.4。
I've already built it. 我已经建造好了。 I confirmed that the DLL in the correct directory. 我确认该DLL位于正确的目录中。
I added the following line to php.ini 我将以下行添加到php.ini中
extension=php_runkit.dll
I called the runkit_superglobals()
function and I got the following output. 我调用了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
I went back to the php directory and ran 我回到php目录并运行
deplister ext\php_runkit.dll
The output was 输出是
php5.dll,NOTFOUND
MSVCR110.dll,OK
KERNEL32.dll,OK
I confirmed that I have php5ts.dll
in the php directory and as stated above I am running php version 5.6.14. 我确认我在php目录中有php5ts.dll
,并且如上所述,我正在运行5.6.14版的php。
我认为问题是您的PHP是x64,而DLL是x86,反之亦然。
只需尝试以下这些DLL之一: https : //github.com/Crack/runkit-windows
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.