How to do manual compilation of external PHP extensions?
Process "buildconf/configure/make" takes too much time.
I compiled the "first_module" from main doc: http://www.zend.com/apidoc/c338.php
cc -fpic -DCOMPILE_DL=1 -I/usr/local/include -I. -I.. -I../main -I../TSRM -I../Zend -c -o first_module.o
first_module.c
cc -shared -L/usr/local/lib -rdynamic -o first_module.so first_module.o
Then when using in my script
'dl("path/to/first_module.so")'
I got message "Invalid library (maybe not a PHP library)"
Help, I'm stuck!