Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

undefined function preg_grep()?????? 1

Status
Not open for further replies.

dingleberry

Programmer
Dec 13, 2002
143
US
Hey,

I'm installing owl which is a doc management utility and it keeps barking at me about some undefined function preg_grep() call. I researched it but It seems like the most cut and dry function of all time. It simply searches through array strings for patterns and spits them out. Anyone have any idea why my php(4.3.9 as an apache module) would be giving me a hard time about this function?

Thanks,
dan
 
According to the PHP manual thes PCRE functions are enabled by default. However, check if the phpinfo() output lists them. If not, that's the problem.
 
The PCRE functions are not listed in phpinfo(). Do you know how I would enable them?

 
Hey Sleipnir214,

I figured it out. bsd. There is a port under /usr/ports/devel/pcre_php4 that installed them. All fixed!

Thanks,
dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top