Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Provide php_runkit.dll #22

Closed
aimfeld opened this issue Mar 13, 2012 · 7 comments
Closed

Provide php_runkit.dll #22

aimfeld opened this issue Mar 13, 2012 · 7 comments

Comments

@aimfeld
Copy link

aimfeld commented Mar 13, 2012

Would it be possible to provide the compiled php_runkit.dll? I'm having a hard time creating it myself, and I don't find it anywhere for downloading.

Thanks, Adrian

@sonsinim
Copy link

I also encountered issues when building the DLL but the following process worked for me.

  1. First, follow the instructions on the PHP wiki at https://wiki.php.net/internals/windows/stepbystepbuild for building PHP itself. I made the error of installing Visual Studio before the Windows Platform SDK but uninstalling and reinstalling Visual Studio seems to have avoided the corresponding issue described in the Pitfalls section of that page. The snapshot I downloaded at the time was php5.3-201211011830.tar.gz which lead to creating a C:\php-sdk\php53dev\vc9\x86\php5.3-201211011830 directory when following the wiki instructions. Also, keep the SDK CMD shell used in the wiki instructions open for use in later steps.
  2. Download the zip archive from github using https://github.com/zenovich/runkit/archive/master.zip or get the source code by cloning the repository.
  3. Expand the archive (if you downloaded it) and copy the contents of the zenovich-runkit-d069e23 directory to C:\php-sdk\php53dev\vc9\x86\php5.3-201211011830\ext\runkit. This put the config.w32 file and the tests directory in the C:\php-sdk\php53dev\vc9\x86\php5.3-201211011830\ext\runkit directory.
  4. Run buildconf again from the C:\php-sdk\php53dev\vc9\x86\php5.3-201211011830 directory in the SDK CMD shell used in the wiki instructions and confirm the new configure options exist for runkit by executing “configure –help”.
  5. Run the following configure command to setup the build: “configure --disable-all --disable-zts --enable-cli --enable-runkit=shared”. The environment I needed runkit for is using the non-thread safe version of PHP and thus I needed the “--disable-zts” option. I found that I needed to append “=shared” onto the “--enable-runkit” option to communicate that a DLL was desired. Otherwise, I think runkit was statically linked into the PHP executable.
  6. Finally, execute nmake from the C:\php-sdk\php53dev\vc9\x86\php5.3-201211011830 directory in the SDK CMD shell and the runkit DLL will be produced in the “C:\php-sdk\php53dev\vc9\x86\php5.3-201211011830\Release” directory.

@mlocati
Copy link

mlocati commented Sep 20, 2013

Hi!
THere's no plans to distribute precompiled DLLs for Windows?

@piotrp
Copy link

piotrp commented Oct 23, 2013

Thanks @sonsinim, going by your description I managed to easily compile runkit for all current PHP versions. The worst part was waiting for VM to install everything needed :)

I uploaded my binaries for PHP 5.3, 5.4 and 5.5 at https://github.com/Crack/runkit-windows

@zenovich
Copy link
Owner

It's great! Thank you!

2013/10/23 Piotr Przybylski notifications@github.com

Thanks @sonsinim https://github.com/sonsinim, going by your description
I managed to easily compile runkit for all current PHP versions. The worst
part was waiting for VM to install everything needed :)

I uploaded my binaries for PHP 5.3, 5.4 and 5.5 at
https://github.com/Crack/runkit-windows


Reply to this email directly or view it on GitHubhttps://github.com//issues/22#issuecomment-26937049
.

@cmb69
Copy link

cmb69 commented Dec 7, 2016

FTR: there are now DLLs available also on https://pecl.php.net/package/runkit.

@zenovich
Copy link
Owner

zenovich commented Dec 8, 2016

Wow! :)

@pilathraj
Copy link

Can you added binary dll files for php7.0+

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants