There is a presentation here that explains it:
www.cluesheet.com/lectures/phptek-embedding.pdf.
There is a more detailed guide to programming with it here: http://phi.lv/?p=376
I guess to test it you would compile and link a program against it.
Here is a sample program:
I've tested this on Hardy, and it compiles fine. You may need to use
/usr/include instead of /usr/local/include.
Thanks,
Paul
On Wed, Aug 20, 2008 at 10:15 PM, Nicolas Valcárcel (nxvl)
<email address hidden> wrote:
> Can you please give some documentation (a link to) about what is
> actually embed and/or some tests to check my package please
>
> ** Changed in: php5 (Ubuntu)
> Assignee: Nicolas Valcárcel (nxvl) (nvalcarcel) => (unassigned)
>
> --
> [needs-packaging] php5-embed
> https://bugs.launchpad.net/bugs/191251
> You received this bug notification because you are a direct subscriber
> of the bug.
>
Hi Nicolas,
There is a presentation here that explains it: com/lectures/ phptek- embedding. pdf. phi.lv/ ?p=376
www.cluesheet.
There is a more detailed guide to programming with it here: http://
I guess to test it you would compile and link a program against it.
Here is a sample program:
http:// code.google. com/p/phc/ source/ browse/ trunk/misc/ old/tryout. c
Once the package is installed (in /usr/local), you should be able to
compile it with:
gcc -I/usr/ local/include/ php -I/usr/ local/include/ php/main local/include/ php/TSRM -I/usr/ local/include/ php/Zend usr/local/ lib -lphp5 tryout.c
-I/usr/
-L/usr/local/lib -Wl,-R/
I've tested this on Hardy, and it compiles fine. You may need to use
/usr/include instead of /usr/local/include.
Thanks,
Paul
On Wed, Aug 20, 2008 at 10:15 PM, Nicolas Valcárcel (nxvl) /bugs.launchpad .net/bugs/ 191251
<email address hidden> wrote:
> Can you please give some documentation (a link to) about what is
> actually embed and/or some tests to check my package please
>
> ** Changed in: php5 (Ubuntu)
> Assignee: Nicolas Valcárcel (nxvl) (nvalcarcel) => (unassigned)
>
> --
> [needs-packaging] php5-embed
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
Paul Biggar
<email address hidden>