PHP. Руководство по PHP. 2005
Compiling PECL extensions statically into PHP
Глава 7. Installation of PECL extensions
Compiling PECL extensions statically into PHP
To statically include the extension within the PHP build, put the extensions source into the ext/ directory found in the PHP source. For example:
$ cd /your/phpsrcdir/ext |
This will result in the following directory:
/your/phpsrcdir/ext/extname |
From here, build PHP as normal:
$ cd /your/phpsrcdir |
Замечание: To run the 'buildconf' script you need autoconf 2.13 and automake 1.4+ (newer versions of autoconf may work, but are not supported).