LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   PHP: call to undefined function preg_match() (I think to do with PCRE) (http://www.linuxquestions.org/questions/linux-software-2/php-call-to-undefined-function-preg_match-i-think-to-do-with-pcre-373581/)

BuckRogers01 10-16-2005 08:22 AM

PHP: call to undefined function preg_match() (I think to do with PCRE)
 
Hi, I emergin in Gentoo apache2 and php5, it all works fine except for the PCRE (Perl ... regular expressions) function arn't working. For instance, in the cli or from a webpage I call preg_match() in php, I just get the error: call ton undefined function preg_match(). I've searched on the net and found that it may be to do with PCRE.

Anyone got any ideas?

thanks in advance, Buck

BuckRogers01 10-17-2005 01:35 PM

Solved! I had not added the pcre USE variable into make.conf, once I recompiled with it added, everything worked as normal


All times are GMT -5. The time now is 02:23 AM.