Topic: Help on functions.php

Hi guys!
In need help. I've uploaded the punBB on my freebsd box with php5.1.6, mysql 5.0.24a, and apache2.2.3 running.
After I uploaded the punBB the files to apache and first time to access my server to install punbb, I am receiving this error message:

Fatal error: Call to undefined function preg_replace() in /usr/local/www/apache22/data/include/functions.php on line 696

Hope anyone can help me fix my problem. big_smile

Re: Help on functions.php

http://us3.php.net/manual/en/ref.pcre.php
You need to have PHP compiled with support for those functions

3 (edited by naitkris 2007-02-23 14:51)

Re: Help on functions.php

as you are running PHP 5.x you should have this functionality but it may be that regex extensions for PHP are not installed there. preg_replace() is a PHP function and not part of PunBB so the problem lies with the PHP installation.

edit - Smartys beat me to it smile

Re: Help on functions.php

Thanks guys! There maybe something wrong with my compilation of PHP5. I'll try compiling the old version of php if it will work. big_smile