-1

I have the source for a PHP extension, and the compiled version for PHP 5.3. But I have PHP 5.4, and the project appears to have been abandoned.

So given the source code, what is the minimum I have to do to compile it for PHP 5.4?

EDIT Note: I'm on Windows.

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

1 Answers1

0

It depends on the extension itself. If the extension requires some other libraries, like, say the extension, then you also need the mysql client library - the C API. Why? Because you explicitly stated that you want minimal dependency requirements. If the extension does not require any other libraries, you can nicely open those C files that you already have, and compile it using any available C compiler. Naturally, you will need PHP development kit as well. :)

DejanLekic
  • 18,787
  • 4
  • 46
  • 77