[php-src] Issue #8434: phpize builds of ext/tokenizer fail
| From: | cmb69 | Date: | Mon, 25 Apr 2022 12:26:13 +0000 |
| Subject: | [php-src] Issue #8434: phpize builds of ext/tokenizer fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-241224@lists.php.net to get a copy of this message | ||
Issue: https://github.com/php/php-src/issues/8434
Comment Author: cmb69
> Сould you give me another way how to build this extension? I have not see specific argument to
> build this extension with engine, just one argument like --disable-tokenizer (Disable tokenizer
> support) but I've built php without this argument, and engine doesn't support tokenizer
> still
The tokenizer extension is supposed to be enabled by default, but is built in *statically* to the
php executable:
````
$ cd php-src && ./buildconf && ./configure && sapi/cli/php -n -m | grep
tokenizer
tokenizer
````
If you want to build tokenizer.so (dynamically), you need to configure
--enable-tokenizer=shared.