Re: building external libraries for binary distributtion
| From: | Michael Bretterklieber | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: building external libraries for binary distributtion | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-2048@lists.php.net to get a copy of this message | ||
Hi,
On Wed, 28 May 2003, joerg mauz wrote:
> hi all,
>
> i work on building my own external library that should be usable within
> php
> using the //dl(.) command. so i read it the docs about how to write
> extension
> but i felt somehow low left alone, cause the docs only just describes
> how to
> create extensions that are shipped with the source for being able to
> build a
> complete new php (and the code the documents contain isn't working
> either !!!).
> so what i'm looking for is a mechanism to built my extension on my local
> php
> installation (full sourc of everything available) and then just only
> send the library
> file (myext.so) to the customer, that itself just puts the lib somewhere
> to be loaded
> by php's //dl(.) command
>
> are there any other docs / recources available than those from the
> php-manual: en/zend.creating.php
>
http://pear.php.net/manual/en/introduction.php#about-pecl
- after you have written your config.m4 do this:
- phpize
- ./configure
- make
- make install
then you get a .so, wich you can send to your customer.
bye,
--
------------------------------- ----------------------------------
Michael Bretterklieber - http://www.bretterklieber.com
JAWA Management Software GmbH - http://www.jawa.at
Tel: ++43-(0)316-403274-12 - GSM: ++43-(0)676-84 03 15 712
------------------------------- ----------------------------------
"...the number of UNIX installations has grown to 10, with more
expected..." - Dennis Ritchie and Ken Thompson, June 1972