PHP 7.0.0 RTM is out and I am so excited about it and try to use it on my site. The problem is I wasn’t able to build it properly and encounter the following error.


/usr/local/src/php-7.0.0/ext/pcre/php_pcre.c: In function 'zm_info_pcre':
/usr/local/src/php-7.0.0/ext/pcre/php_pcre.c:153: error: 'PCRE_CONFIG_JIT' undeclared (first use in this function)
/usr/local/src/php-7.0.0/ext/pcre/php_pcre.c:153: error: (Each undeclared identifier is reported only once
/usr/local/src/php-7.0.0/ext/pcre/php_pcre.c:153: error: for each function it appears in.)
make: *** [ext/pcre/php_pcre.lo] Error 1

I’ll update you when I find a solution to this.

Update: I removed the ‘–with-pcre-regex=/usr’ from ./configure and the error does not appear anymore. Still waiting for the compile process to finish. 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *