Difference between revisions of "Firebird PHP OSX"

From Mesopoly 3.0
Jump to navigation Jump to search
Line 32: Line 32:
 
[[Category:Technical]][[Category:OSX]]
 
[[Category:Technical]][[Category:OSX]]
  
==Are there other means?==
+
 
*Well, there is also [http://adodb.sourceforge.net/ ADOdb] - Database Abstraction Library for PHP (and Python) adjusted for use with [http://darwinports.opendarwin.org/ Darwin Ports] available [http://adodb.darwinports.com/ here]
 
  
 
[[Category:Technical]][[Category:OSX]]
 
[[Category:Technical]][[Category:OSX]]

Revision as of 11:25, 18 December 2006

What is really the problem here?

Well, it looks like basic problem is that at the compiling time, and you have to compile since avaliable binaries do not support Interbase, php needs to fetch Interbase libraries. To that end libraries have to be there and php has to be able to find them, in order to happily compile.


Where to go?

There is a mailing list dedicated to PHP with Firebird, but I had problems posting to it (here). Mind that there is a lot of material but the group is not OSX / Darwin specific. There is at least one thread of a person trying to get PHP with Firebird support running on OSX. He apparently gave up trying long ago, as confirmed by mail.

Was it done before?

  • There is at least one person that has done it and even partially documented it.
  • There is also someone in Japan that managed to do it, at least it seems so. Here is a google translation

What really the problem here?

Well, it looks like basic problem is that at compiling time, and you have to compile since avaliable binaries do not support Interbase, php needs to fetch Interbase libraries. To that end libraries have to be there and php has to be able to find them, in order to happily compile.

Sub challange

If you are to pursue our established goal, chances are you will be trying to compile Firebird on OSX in order to get workable libraries. I suggest to look at David Pugh initiative to get Firebird compilable on OSX. That way you will probably get your needed libraries


Are there other means?

Maybe you could get interbase.so file from someone who has it already.


Are there workarounds?

  • Well, there is also ADOdb - Database Abstraction Library for PHP (and Python) adjusted for use with Darwin Ports available here