¡@

Home 

php Programming Glossary: config.m4

Linking a PHP Extension Written in C

http://stackoverflow.com/questions/1508430/linking-a-php-extension-written-in-c

code uses a shared library you need to declare that in the config.m4 file. I strongly recommend using the ext_skel script that's.. that's included in the PHP source to generate a skeleton config.m4 . ext_skel extname myextension Since you're linking to a library.. enable myextension . Uncomment the relevant lines in the config.m4 and fill in the details of your lib. Something like the following..

Compare PHP Arrays Using Memory References

http://stackoverflow.com/questions/4110973/compare-php-arrays-using-memory-references

Actually this can be done. Through a php extension. File config.m4 PHP_ARG_ENABLE test whether to enable test Extension support..

How to start writing a PHP5 extension in C++

http://stackoverflow.com/questions/492014/how-to-start-writing-a-php5-extension-in-c

a basic example which uses C Here's what I've tried so far config.m4 enable hello Enable Hello World support if test PHP_HELLO yes.. hello.lo Error 1 I suspect I need more work doing to the config.m4 in order to create a working makefile but I'm pretty new to..