Re: [DEV] Attaching binary executable to extension
| From: | Ángel González | Date: | Mon, 14 Jan 2013 13:24:07 +0000 |
| Subject: | Re: [DEV] Attaching binary executable to extension | ||
| References: | 1 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-10213@lists.php.net to get a copy of this message | ||
On 14/01/13 11:05, Yahav Gindi Bar wrote:
> Hi,
> I'd like to create a wrapper extension for a program written in C. I got the program
> compiled and support cross platform , so can I include the bin file and just execute it or I need
> to include the source code?
>
> My "problem" is that this program based on Qt framework and I don't think it so
> wise to give the user to install the entire framework for just PHP extension.
> I will be able to submit it to PECL If I"ll just include the binary executable file?
>
> Thanks for your advices!
>
> Regards,
> Yahav.
If it's just a wrapper for the program, you don't need to include the
program. It should just be noted that "it needs X program installed".
However, I wonder why you need a php extension in such case. It seems as
it could be done in php.