preg_replace = undefined function?

Arkadiusz Miskiewicz arekm at pld-linux.org
Sun Oct 6 01:02:10 CEST 2002


"Sven Niemetz" <sven at grovestreet.net> writes:

> Hey,
> 
> I downloaded your 4.23 rmp binary, an it's working fine, but I ran into
> an odd problem:
> 
> This code:
> 
> <?
> echo preg_replace("/off/","on","it's off");
> ?>
> 
> Returns 
> 
> Fatal error: Call to undefined function: preg_replace() in foo.php on line 2
> 
> What's up?
Install our php-pcre package, too.

> Sven Niemetz

-- 
Arkadiusz Miśkiewicz    CS at FoE, Wroclaw University of Technology
arekm at sse.pl   AM2-6BONE, 1024/3DB19BBD, arekm(at)ircnet, PLD/Linux



More information about the feedback mailing list