I'm using PHP 4.3.11 fastcgi from ertl packages ( http://openwrt.ertl-net.net/broadcom/pa … mipsel.ipk ) on Asus WL-500Gp, because it not exists in the official packages. Sadly this version not known perl compatible regular expression functions, like preg_*. And not exists this funtions in the get_defined_functions output too. But in the configure command from phpinfo() output:

'./configure' '--target=mipsel-linux' '--host=mipsel-linux' '--build=i486-linux-gnu' '--program-prefix=' '--program-suffix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--libexecdir=/usr/lib' '--sysconfdir=/etc' '--datadir=/usr/share' '--localstatedir=/var' '--mandir=/usr/man' '--infodir=/usr/info' '--disable-nls' '--enable-shared' '--disable-static' '--disable-rpath' '--disable-debug' '--without-pear' '--with-config-file-path=/etc' '--disable-ipv6' '--enable-magic-quotes' '--enable-memory-limit' '--disable-overload' '--disable-short-tags' '--disable-ctype' '--disable-dom' '--enable-ftp=shared' '--without-gettext' '--without-iconv' '--disable-mbstring' '--disable-mbregex' '--with-openssl=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-kerberos=no' '--with-openssl-dir=/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--enable-session=shared' '--enable-sockets=shared' '--disable-tokenizer' '--with-zlib=/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-zlib-dir=/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-curl=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-gd=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--without-freetype-dir' '--with-jpeg-dir=/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-png-dir=/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--without-xpm-dir' '--without-ttf' '--without-t1lib' '--enable-gd-native-ttf' '--disable-gd-jis-conv' '--with-gmp=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-ldap=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-mysql=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-pcre-regex=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-pgsql=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--with-sqlite=shared,/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--enable-xml=shared' '--with-expat-dir=/home/ubuntu/openwrt/kamikaze_7.09_broadcom/staging_dir_mipsel/usr' '--disable-cli' '--enable-cgi' '--enable-fastcgi' '--enable-force-cgi-redirect' '--enable-discard-path'

exists the --with-pcre-regex directive. Why don't works pcre regex functions in this PHP?