WinBinder - The native Windows binding for PHP
WinBinder is a PHP extension written in C, that allows you to build native client-side applications for the Windows Platform in pure PHP.
You will need the source code of PHP plus the WinBinder source code.
On which PHP versions has it been tested on?
- PHP 5.6
- PHP 5.5
- PHP 5.4
- Get Microsoft Visual Studio (Express version will do)
- Get PHP source code, e.g. from http://windows.php.net/download/
- Compile PHP by following this guide https://wiki.php.net/internals/windows/stepbystepbuild
- Clone this repo into the folder ext/winbinder
- compile PHP with your options
1. add
--with-winbinder
to compile WinBinder statically into php.exe
configure.bat --enable-snapshot-build --enable-debug-pack --with-winbinder
2. add--with-winbinder=shared
to compile WinBinder shared, i.e., to get a *.dll
configure.bat --enable-snapshot-build --enable-debug-pack --with-winbinder=shared
See the docs!
Report them via github issues.