Re: PHP module creation
| From: | Rasmus Lerdorf | Date: | Mon, 04 Mar 2002 07:53:06 +0000 |
| Subject: | Re: PHP module creation | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-80671@lists.php.net to get a copy of this message | ||
Make sure you have:
PHP_EXTENSION(exif, $ext_shared)
in your config.m4 and then simply do:
./configure --with-foo=shared
You will find it in your ./modules directory.
-Rasmus
On Sun, 3 Mar 2002, Steven J. Sobol wrote:
> On 3 Mar 2002, Lars Torben Wilson wrote:
>
> > On Sun, 2002-03-03 at 17:30, topside wrote:
> > > Where can I get information/documentation on creating my own PHP modules in
> > > C? I basicly just want to use some C functions within PHP - so I figure I
> > > can write a PHP module with functions which use the C functions I need.
> > >
> > > thanks
> > > --topside
> >
> > The manual is a good place to start:
> >
> > http://www.php.net/manual/en/zend.php
>
> I've followed the instructions at
> http://www.zend.com/apidoc/
> and generated test code for a php extension, and can get it to compile
> into a PHP binary, but I'm having difficulty finding the info I need to
> get it to compile as a shared library.
>
> Help?
>
> TIA.
>
> --
> JustThe.net LLC - Steve "Web Dude" Sobol, CTO ICQ: 56972932/WebDude216
> website: http://JustThe.net email: sjsobol@JustThe.net phone:
> 216.619.2NET
> postal: 5686 Davis Drive, Mentor On The Lake, OH 44060-2752 DalNet: ZX-2
>
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, visit: http://www.php.net/unsub.php
>