[wp-trac] [WordPress Trac] #16892: make_clickable segfault

WordPress Trac wp-trac at lists.automattic.com
Sat Mar 19 11:06:53 UTC 2011


#16892: make_clickable segfault
--------------------------+------------------------------
 Reporter:  westi         |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  3.1
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |
--------------------------+------------------------------

Comment (by hakre):

 I asked because of this message:

 {{{
 /usr/local/src/php-5.3.5/ext/pcre/pcrelib/pcre_exec.c: No such file or
 directory.
 }}}

 Looks like your PHP version is missing the PCRE library.

 As it does not segfault for me with the same PHP version of which mine is
 officially distributed by PHP.net I assume that you're facing a
 configuration issue on your server.

 I tend to close this ticket as worksforme.

 Pleae ensure that you've properly compiled PHP with all needed libraries,
 especially with the ones needed for the PCRE extension.

 Does the following script segfaults on that said system?

 {{{
 <?php
 // The "i" after the pattern delimiter indicates a case-insensitive search
 if (preg_match("/php/i", "PHP is the web scripting language of choice."))
 {
     echo "A match was found.";
 } else {
     echo "A match was not found.";
 }
 ?>
 }}}

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16892#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list