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

Daniel1836's avatar

Issue with PHP version and Laravel on Host site.

I changed my PHP version on my host site, now my Laravel projects stopped working. I changed it back and it still doesn't work. I am using Host gator.

It was working right before.

Does anyone have any knowledge on what can be done to fix this? I know the problem is because of the PHP version change.

The error I get it this

Fatal error: Call to undefined function Symfony\Polyfill\Mbstring\iconv_strpos() in /home4/danielklein/laravel/vendor/symfony/polyfill-mbstring/Mbstring.php on line 501

I find it odd that it mentions Symfony because I don't believe that is related to Laravel.

Perhaps something is wrong in my htaccess?

Thanks,

I'm pretty desperate to fix this.

0 likes
1 reply

Please or to participate in this conversation.