Hi, I am curious to know of other people’s experiences with creating and compiling extensions for PHP.
Recently I tried to compile a PHP extension based on the source codes for a PHP extension which I downloaded off the net – it’s available as C files, and the corresponding header files.
I’ve tried to follow the instructions for compiling the extensions manually – as indicated by the PHP manual online for creating extensions, with the source code of PHP at hand, within a Linux environment – but some errors are thrown up, such as files not found, though they are indicated by includes within the header files.
I’m no C/C++ expert, and compiling is new to me, but it seems that the process is more prone or open to error than I would feel is warranted – or am I just naive? Any thoughts on the matter would be great.
For those who are curious enough, the extension files are in http://frink.nuigalway.ie/~framework/Test/Free.zip as a zip. Please right hand click to Save Target As…
The article where the stat package came from: http://www.jstatsoft.org/v02/i01/statistics.pdf – the files were updated this year, though the article is dated 1997.