# Website / PHP issues following PHP upgrade

**URL:** https://forum.infinityfree.com/t/website-php-issues-following-php-upgrade/33017
**Category:** System Issues
**Created:** [July 17, 2020, 4:57pm UTC](https://forum.infinityfree.com/t/website-php-issues-following-php-upgrade/33017 "2020-07-17T16:57:02Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Oxy](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/oxy/32/37989_2.png) [@Oxy](https://forum.infinityfree.com/u/Oxy)
#### Post date: [July 17, 2020, 6:35pm UTC](https://forum.infinityfree.com/t/website-php-issues-following-php-upgrade/33017/3 "2020-07-17T18:35:40Z")

</div>

For those who have ~~unserialize~~ problem

> [@Admin](#):
>
> The `unserialize` function was disabled in our PHP 5.4 setup, presumably due to unsolved security problems in that version of PHP. PHP 5.4 stopped getting security in September 2015, so issues like that are bound to occur.
> 
> The best way to fix this is to run your website on a newer version of PHP. If your website code supports it, you should just switch to the newest version of PHP (which is 7.4). If that doesn’t work, you can try to use PHP 5.6, or at least the newest version of PHP your site can run on.
> 
> If your website really doesn’t work on a newer PHP version, you may want to consider updating your website or switching to software which is still being supported. Because PHP 5.4 is _very_ old by now.

---

_[View the full topic](https://forum.infinityfree.com/t/website-php-issues-following-php-upgrade/33017)._
