fb92 Posted May 12, 2013 Share Posted May 12, 2013 I am having some problems with a Wordpress/WHM integration plugin I have purchased. I get this error: Fatal error: Call to undefined function mb_strrchr() in /home/fb92webh/public_html/wp-content/plugins/whmcs-wordpresss-integration/lib/url_to_absolute.php on line 119 I own a VPS so I can do the changes that need to be done. Quote Link to comment https://forums.phpfreaks.com/topic/277937-problem-vps-mb_/ Share on other sites More sharing options...
kicken Posted May 13, 2013 Share Posted May 13, 2013 You need to enable the mbstring extension either by recompiling PHP with it enabled, or via the system package manager. Which one depends on how you installed PHP in the first place. Quote Link to comment https://forums.phpfreaks.com/topic/277937-problem-vps-mb_/#findComment-1429799 Share on other sites More sharing options...
xenLiam Posted May 24, 2013 Share Posted May 24, 2013 You said you were using WHM, so you can enable the PHP extension "mbstring" via EasyApache. You do have to recompile Apache to get it working though. If you're working with a bare VPS server (I considered that you may have a different server for WHM and running your Wordpress/WHM integration script on another VPS), you can enable PHP in the following way (considering you installed PHP through the system's package manager and not through source building): # For CentOS/RHEL/Fedora yum install php-mbstring You need to have the EPEL repository for that to work though. Quote Link to comment https://forums.phpfreaks.com/topic/277937-problem-vps-mb_/#findComment-1432001 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.