简体   繁体   中英

How do I build runkit for Windows?

I am trying to use Runkit on a windows machine. PHP version is 5.6.14, windows version is Windows 8 Enterprise, runkit version is 1.0.4.

I've already built it. I confirmed that the DLL in the correct directory.

I added the following line to php.ini

extension=php_runkit.dll

I called the runkit_superglobals() function and I got the following output.

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

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是x64,而DLL是x86,反之亦然。

只需尝试以下这些DLL之一: https : //github.com/Crack/runkit-windows

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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