11111
Compiling PECL extensions statically into PHP
$ 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).
- Whether --enable-extname or --with-extname is used depends on the extension. Typically an extension that does not require external libraries uses --enable. To be sure, run the following after buildconf:
-
$ ./configure --help | grep extname |
Compiling shared PECL extensions with phpize
Problems? 22222