I am working with the following tutorial: http://abhinavsingh.com/blog/2008/12/php-extensions-how-and-why/
I did create in a folder the php_sample.h
file. I have an error: php.h no such file or directory.
I've installed php and apache using apt-get install.
SHould i import in my file php.h
? I also don't know where to look for config.m4. I've searched in usr/lib/php5 but i didn't find it. In usr/local
there is no appache folder. Need some tips. Thx! Appreciate
I would like to mention that i am working in ubuntu 10.10. I've tested a simple .php code
after adding it in /var/www
and it works.
you need php-dev package. php is just binary package while php-dev contains source files.