Re: PHP extensions ...

From: Date: Tue, 04 Sep 2001 13:59:42 +0000
Subject: Re: PHP extensions ...
References: 1  Groups: php.install 
Request: Send a blank email to php-install+get-4183@lists.php.net to get a copy of this message
On Tue, 4 Sep 2001, Larry Cotton wrote: > 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 ? Did you run configure like this? ./configure --with-phpwebinterface Otherwise your extension will not be included in the build. \David

« previous php.install (#4183) next »