I get this error:
PHP Fatal error: Call to undefined function mb_strpos() in /my/file.php
Which is odd because mb_strpos() was introduced in PHP 4, and I’m running PHP 5.3.3
$ php -v
PHP 5.3.3 (cli) (built: Feb 22 2012 19:38:14)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
Anybody else run into something like this and know how to fix it? I searched and I can’t figure it out.
PS. I’m running centOS 5.
MBString is not a default extension in PHP and you have to install it
if you are running linux try
as a root user
or
on windows you have to edit php.ini to use the extension dll library
Note: mb_strpos still supported in PHP 5