3

I've been making a lot of console apps in PHP, but now I'm wanting to try making an actual Windows program.

Since WinBinder is pretty much the extension to do this, I went ahead and downloaded it. I put the DLL in the extension folder and added its entry to the php.ini file.

But when I try to run a simple test (php -r "echo 'Test';") I get the following error:

Warning: PHP Startup: winbinder: Unable to initialize module
Module compiled with module API=20090626
PHP    compiled with module API=20100525
These options need to match
 in Unknown on line 0

I really have no idea what this means, nor what to do about it. Any help resolving this error, or advice for a different extension, would be much appreciated.

Niet the Dark Absol
  • 320,036
  • 81
  • 464
  • 592

1 Answers1

1

You can find Winbinder for PHP 5.4 here: https://github.com/stefan-loewe/WinBinder

There is no thing prevent you from developing desktop application using PHP.

Handsome Nerd
  • 17,114
  • 22
  • 95
  • 173
  • Thank you very much for finding this. Now I just need to change from non-thread-safe to thread-safe versions of PHP. I'll let you know how it goes. – Niet the Dark Absol Mar 21 '13 at 11:15