Re: [fpc-pascal] FPC to create PHP extensions for Linux - GOTCHA

2013-06-02 Thread m...@rpzdesign.com
For anybody that is working on getting PHP extensions built using freepascal, I have some gotchas you may want to know about. The with strategy of avoiding porting the PHP header files into pascal, I am building a .SO library for linux so that my PHP binaries can link to it by using a quick an

Re: [fpc-pascal] FPC to create PHP extensions for Linux

2013-06-02 Thread m...@rpzdesign.com
Ok: After a night of dwelling on the problem, the easiest solution is to create your linux dynamic libraries as a standalone separate lib.so library in free pascal and then use C to create the php extension and link it to the freepascal library. Trying to keep up with all of the PHP headers i

[fpc-pascal] FPC to create PHP extensions for Linux

2013-06-01 Thread m...@rpzdesign.com
Anybody have an opinion about writing dynamic extensions for PHP in free pascal? The samples and discussion at: http://community.freepascal.org/bboards/message?message_id=342130&forum_id=24082 Indicates PHPToolkit, but all of the definitions inside these file are way out of date. My current