重建PHP后Preg_匹配失败

重建PHP后Preg_匹配失败,php,compilation,preg-match,Php,Compilation,Preg Match,我只是尝试用PHP soap编译我的PHP。它似乎构建得很好,但现在我的网站显示以下错误: Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 我不确定在没有PHPSOAP的情况下重建我的PHP是否能工作,因为通过查看错误,这似乎不是问题所在。这是我的php版本: PHP 5.2.17 (cli) (built: Sep 8 2012 16:09:36) Copyright (c)

我只是尝试用PHP soap编译我的PHP。它似乎构建得很好,但现在我的网站显示以下错误:

Warning: preg_match() [function.preg-match]: Internal pcre_fullinfo() error -3 
我不确定在没有PHPSOAP的情况下重建我的PHP是否能工作,因为通过查看错误,这似乎不是问题所在。这是我的php版本:

PHP 5.2.17 (cli) (built: Sep  8 2012 16:09:36) 
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
这是我的配置:

Configure Command =>  './configure'  '--with-apxs2' '--with-curl=/usr/local/lib' 
'--with-gd' '--enable-gd-native-ttf' '--with-ttf' '--with-gettext' '--with-jpeg-dir=/usr/local/lib' 
'--with-freetype-dir=/usr/local/lib' '--with-kerberos' '--with-openssl' 
'--with-mcrypt' '--with-mhash' '--with-mysql=/usr' 
'--with-mysqli=/usr/bin/mysql_config' '--with-pcre-regex=/usr/local' 
'--with-pdo-mysql=/usr' '--with-pear' '--with-png-dir=/usr/local/lib' 
'--with-zlib' '--with-zlib-dir=/usr/local/lib' '--enable-zip' 
'--with-iconv=/usr/local' '--enable-bcmath' '--enable-calendar' 
'--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-soap' 
'--enable-mbstring'
操作系统是CentOS 5和DirectAdmin


我真的希望有人能帮我。我在谷歌上找不到关于这个错误的任何信息。非常感谢您的光临。

CentOS 5和我也在使用DirectAdmin,但不使用pcre xxx=/usr/local进行重建。您可能会链接到不兼容的libpcre版本。试着使用system one,或者与php src捆绑在一起的。@mario,谢谢,我试过了,但是它在pcre库的引用方面遇到了大量错误。我不必知道如何删除这些引用。三个错误示例:1。usr/local/directadmin/custombuild/php-5.2.17/ext/pcre/php_pcre.c:128:未定义对pcre_version“2”的引用。ext/pcre/.libs/php_pcre.o:在函数zm_startup_pcre中:3/usr/local/directadmin/custombuild/php-5.2.17/ext/pcre/php_pcre.c:154:未定义对“pcre_version”的引用