« Return to Thread: Anyone familar with PHP Extensions?

Re: Anyone familar with PHP Extensions?

by Eric A. Boney :: Rate this Message:

Reply to Author | View in Thread

Some parts of this message have been removed. Learn more about Nabble's security policy.
On Sunday 05 July 2009 16:39:02 Cristian Oneţ wrote:
> În data de Duminică 05 Iulie 2009 23:26:18 Eric A. Boney a scris:
> > Anyone on this list have any experience developing PHP Extensions? I have
> > been working on an off on developing a Web Interface as many might know.
> > I have the extension compiling and building just fine without any errors
> > or warnings. When I include the header file for mymoneydatabasemgr class
> > the extension will still compile and build without errors, but the "so"
> > file will not register when Apache2 is restarted. If however, I remove or
> > comment out the header file everything is fine and it registers like it
> > should.
>
> Well I know nothing about developing php extensions but if the so will not
> load could mean that it has a missing runtime dependency. If you run 'ldd
> your.so' (the one compiled with mymoneydatabasemgr) do you get any not
> found dependencies. Maybe the qt sqlite plugin is not found in the Apache2
> environment.
>
> > So without the header file I obviously can't get access to the class, so
> > anyone have any ideas or any experience with developing extensions? I
> > know this doesn't directly relate to KMM, but I was hoping maybe someone
> > here may have some additional experience.
>
> I hope the above suggestion helps :).


Hey Christian:


Thanks for the suggestion. I don't get any not found dependencies. Here is the output of the command:


linux-gate.so.1=> (0xb7f11000)
libc.so.6 => /lib/tls/i686/cmov/libc.so.6 (0xb7da9000)
/lib/ld-linux.so.2 (0xbf12000)


Thanks for the suggestion, maybe I am not including something that is needed still in the extension?


-Eric



------------------------------------------------------------------------------

_______________________________________________
KMyMoney2-developer mailing list
KMyMoney2-developer@...
https://lists.sourceforge.net/lists/listinfo/kmymoney2-developer

 « Return to Thread: Anyone familar with PHP Extensions?