Discussion:
[PHP-INSTALL] --without-regex does not remove POSIX Regex (on Linux)
Gunther Steil
2012-08-23 16:31:56 UTC
Permalink
It is not possible to compile PHP without regex even when using the build
flag --without-regex. Instead, regex will always be included as if set
--with-regex.

This seems rather strange to me, since (POSIX) regex support is deprecated
as of PHP 5.3, according to the documentation.

Does anybody know the reason for this inconsistent behaviour?
Does anybody have experience in disabling this extension?
Wouldn't it be desirable to be able to disable regex in order to prevent
further usage (this was my orginal intent).
Ferenc Kovacs
2012-08-23 16:59:10 UTC
Permalink
Post by Gunther Steil
It is not possible to compile PHP without regex even when using the build
flag --without-regex. Instead, regex will always be included as if set
--with-regex.
This seems rather strange to me, since (POSIX) regex support is deprecated
as of PHP 5.3, according to the documentation.
Does anybody know the reason for this inconsistent behaviour?
Does anybody have experience in disabling this extension?
Wouldn't it be desirable to be able to disable regex in order to prevent
further usage (this was my orginal intent).
See http://www.mail-archive.com/***@lists.php.net/msg55415.html
Some internal stuff depends on it.

Loading...