PHP extensions ...
| From: | Larry Cotton | Date: | Tue, 04 Sep 2001 13:47:21 +0000 |
| Subject: | PHP extensions ... | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4182@lists.php.net to get a copy of this message | ||
Hi
I've written some functions which I want to use as php extensions on linux.
I've downloaded php-4.0.6 and built it successfully.
I auto-generated the files using the instuctions in the Zend documenteation
at http://www.zend.com/apidoc/c269.php
They tell you to do something like this :
cd /usr/local/src/php4/ext
./ext_skel my_module --extname=module_name
The I edited the generated files to include some of the zend functions I've
already written and get rid of the page request init functions and added
another source file to Makefile.in. i also uncommented the line :
[ --with-phpwebinterface Include phpwebinterface support])
in the config.m4 file
It then says to run the following commands :
./buildconf
./configure
vi ext/my_module/my_module.c
make
Apparently ./configure should now auto generate a Makefile for my_module,
but it doesn't seem to be doing this for me.
Anyone know what's going on here ?
Cheers
Larry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Imerge Limited Tel :- +44 (0)1954 783600
Unit 6 Bar Hill Business Park Fax :- +44 (0)1954 783601
Saxon Way Web :- http://www.imerge.co.uk
Bar Hill
Cambridge
CB3 8SL
United Kingdom
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~