Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

alainbelez's avatar

Call to undefined function

i setup iis with php and it's returning an error

PHP Fatal error:  Call to undefined function Illuminate\Foundation\Bootstrap\mb_internal_encoding() in D:\web\booking\vendor\laravel\framework\src\Illuminate\Foundation\Bootstrap\LoadConfiguration.php on line 42
0 likes
4 replies
kefirm's avatar

I have the same issue and I have enabled mbstring extension in php.ini. Error still appears. Any ideas?

1 like
aalaap's avatar

I'm facing the same problem with PHP from the Uniform Server package. I've checked the php.ini and extension=php_mbstring.dll is present, but I still continue to get this error. Output from php -i confirms that mbstring is enabled.

Update: I did fix this eventually, but I still don't know exactly what was wrong. Instead of Uniform Server's PHP, I manually installed the latest PHP 5.6.8 for Windows and enabled the php_mbstring.dll in the new php.ini. The fatal error mentioned above went away after this, but I still kept getting a "Whoops..." error. Enabling php_openssl.dll after that took care of it.

rowanwins's avatar

Hi all, I resolved this by using WAMP as my local PHP install. WAMP has good support for enabling PHP extensions like mbstring and openssl, its just a simple tickbox thing rather than playing around in ini files. I'd previously been using MAMP or XAMPP but it looks like I'm a WAMP convert now :)

Cheers Rowan

Please or to participate in this conversation.