|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2017-08-27 15:52 UTC] requinix@php.net
-Status: Open
+Status: Feedback
[2017-08-27 15:52 UTC] requinix@php.net
[2017-11-05 04:22 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 06:00:02 2025 UTC |
Description: ------------ I am using this pcre version: pcre PCRE (Perl Compatible Regular Expressions) Support enabled PCRE Library Version 8.41 2017-07-05 PCRE JIT Support enabled Directive Local Value Master Value pcre.backtrack_limit 1000000 1000000 pcre.recursion_limit 100000 100000 pcre.jit 1 1 when i am using the function preg_match it comes an error 500. Log file output: [Sun Aug 27 15:20:43.965309 2017] [core:notice] [pid 32606:tid 139736805609088] AH00052: child pid 27928 exit signal Segmentation fault (11) here is my configure line: ./configure --enable-maintainer-zts --with-apxs2=/usr/local/apache2/bin/apxs --with-mysqli=mysqlnd --with-pdo-mysql=mysqlnd --with-gd --with-curl --enable-cli --with-openssl --enable-soap --with-pear --with-config-file-path=/usr/local/lib --enable-mbstring --with-zlib --with-jpeg-dir=/usr --enable-zip I installed pthreads (but if i exclude this from php.ini, the failure happens again) Also I switched the session path to /tmp. The rest of my php.ini is default. Test script: --------------- $u_agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.143 Safari/537.36"; if(preg_match('/MSIE/i',$u_agent)) { // here the error occurs echo "ie"; }