Re: [PHP4BETA] extensions
| From: | Stig Sæther Bakken | Date: | Fri, 23 Apr 1999 21:49:43 +0000 |
| Subject: | Re: [PHP4BETA] extensions | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-417@lists.php.net to get a copy of this message | ||
"AsianAvenue.com" wrote:
>
> Am trying to add my own set of custom functions. I am assuming that I
> need to follow the procedures for extensions. I read the instructions in
> the message which was sent out regarding the new build process. The
> following lines appears:
>
> "Finally, and this is the most important thing, if an extension is to be
> compiled at all, you need to call PHP_EXTENSION(NN) in config.m4, where
> NN is the extension name (name of ext/ subdir). See the config.m4 files
> in ext/standard and ext/gd for more examples."
>
> I cannot find a file called config.m4. Can someone describe the process
> for adding your own set of functions? Was VERY good at this in
> PHP3...things seem MUCH different. From what I understand, though, the
> changes seem neater.
You have to create your own config.m4 in your extension's directory.
Use the ext/ext_skel script to set up skeleton files, there are lots of
examples in the other extensions.
- Stig
--
PHP 4 Beta