On Mon, Jul 13, 2009 at 7:17 PM, Paul Biggarpaul.big...@gmail.com wrote:
Hi Thomas,
On Mon, Jul 13, 2009 at 9:15 PM, Thomas Kochtho...@koch.ro wrote:
gcc -c -I/usr/local/include/php/ -I/usr/local/include/php/main -
I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -Wall -g -o
On 9 Aug 2009, at 22:52, Farley Knight wrote:
On Mon, Jul 13, 2009 at 7:17 PM, Paul Biggarpaul.big...@gmail.com
wrote:
Hi Thomas,
On Mon, Jul 13, 2009 at 9:15 PM, Thomas Kochtho...@koch.ro wrote:
gcc -c -I/usr/local/include/php/ -I/usr/local/include/php/main -
I/usr/local/include/php/Zend
Sorry for being a C newby. Could you please help me? I try to follow Sarah's
extending PHP book and fail to use the embeded PHP sapi:
I compile PHP5.3:
./configure --enable-embed
have a c program:
#include sapi/embed/php_embed.h
int main(int argc, char *argv[])
{
Excerpts from Thomas Koch's message of Mon Jul 13 16:15:10 -0400 2009:
worker.o: In function `main':
/var/checkouts/gearman-php-worker/worker.c:5: undefined reference to
`php_embed_init'
/var/checkouts/gearman-php-worker/worker.c:6: undefined reference to
`php_embed_shutdown'
collect2: ld
Hi Thomas,
On Mon, Jul 13, 2009 at 9:15 PM, Thomas Kochtho...@koch.ro wrote:
gcc -c -I/usr/local/include/php/ -I/usr/local/include/php/main -
I/usr/local/include/php/Zend -I/usr/local/include/php/TSRM -Wall -g -o
worker.o worker.c
gcc -L/usr/local/lib -lphp5 -o worker worker.o
worker.o: In