Lines Matching refs:extension
1 # How to create a self-contained PHP extension
3 A self-contained extension can be distributed independently of the PHP source.
4 To create such an extension, two things are required:
23 ## Converting an existing extension
25 Just to show you how easy it is to create a self-contained extension, we will
26 convert an embedded extension into a self-contained one. Install PHP and execute
35 extension:
47 You can now ship the contents of the directory - the extension can live
62 ## Defining the new extension
64 Our demo extension is called "foobar".
69 The demo extension does not reference any external libraries (that is important,
78 extension, you do not need more than a few macro calls.
92 extension will be enabled by `PHP_NEW_EXTENSION` in shared mode.
94 The first argument of `PHP_NEW_EXTENSION` describes the name of the extension.
112 ## Creating the self-contained extension
126 And that's it. You now have a self-contained extension.
128 ## Installing a self-contained extension
130 An extension can be installed by running:
140 In order to be useful, a self-contained extension must be loadable as a shared
149 building the extension.
161 If you plan to release an extension to the PECL website, there are several
166 2. The following should be defined in one of the extension header files
173 extension version.