Re: Fatal error: Call to undefined function preg_match()
| From: | Barry | Date: | Mon, 20 Mar 2006 09:15:57 +0000 |
| Subject: | Re: Fatal error: Call to undefined function preg_match() | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-232230@lists.php.net to get a copy of this message | ||
Evert wrote:
Hi all! Recently I am getting the following error on some of my PHP-enabled websites. I think it started when I went from PHP4 -> PHP5. Here is an example (from http://wos.poboxes.info/) : Fatal error: Call to undefined function preg_match() in /var/www/wos.poboxes.info/htdocs/classes/ConfigData.php on line 114 What causes this? How can I fix it? FYI: I use Cherokee (not Apache...) Regards, Evert On some pages?So it works on the other pages on the same webserver? Probably you have unset the function, or some file/php/include/script does. Best way to test that is to put preg_match at the first line. Is a htaccess causing trouble probably? -- Smileys rule (cX.x)C --o(^_^o) Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)