Brian Ruchiadi
Brian Ruchiadi

Reputation: 361

Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() error laravel 5.4

I am uploading a laravel 5.4 project to cpanel server. And i am serve with

PHP Fatal error:  Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos()

on server.

I have done

composer require symfony/polyfill-iconv

However, it does not change the error message. What thing i might miss out?

Upvotes: 2

Views: 7010

Answers (1)

Bogdan Stoica
Bogdan Stoica

Reputation: 4539

Be sure that you have php-iconv and php-mbstring installed on the server. Then check again. By default, mbstring is not installed on cPanel/WHM servers

Upvotes: 3

Related Questions