# PHP update failed and can't access my local site now

**URL:** <https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065>\
**Category:** Support\
**Created:** [July 24, 2020, 3:36am UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065 "2020-07-24T03:36:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![laurentf](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/laurentf/32/11011_2.png) [@laurentf](https://community.localwp.com/u/laurentf)\
**Post date:** [July 24, 2020, 3:36am UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065/1 "2020-07-24T03:36:44Z")

</div>

Hi guys,

I updated Local and then tried to update from PHP 7.3.5 to the 7.4.1 but it failed so I had to reboot Local.

The problem is that when I try to start my site now, this message shows up:

 ![error](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/5/5d1241e48d732e227902c2e832f442baa7c8a328.png)

Also, the WordPress Version is loading indefinitely.

 ![wordpress_loading](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/e/e167da2bc1d880e6c5c218c2705b8de350fd0854.png)

Do you know what went wrong and if I can fix it?

Thanks for your help.

Laurent

---

<div class="post-metadata">

**Author:** ![laurentf](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/laurentf/32/11011_2.png) [@laurentf](https://community.localwp.com/u/laurentf)\
**Post date:** [August 9, 2020, 9:59am UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065/2 "2020-08-09T09:59:01Z")

</div>

Could someone from the Local team explain if there is a solution to that problem?

---

<div class="post-metadata">

**Author:** ![j3price](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@j3price](https://community.localwp.com/u/j3price)\
**Post date:** [August 10, 2020, 9:04pm UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065/3 "2020-08-10T21:04:23Z")

</div>

I’m having the same issue. It would be great to get this resolved so I can recover the site.

 ![Capture.2JPG](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/2/2716662308eaeb168a41325ed1951e6b8d4ab896.jpeg) ![Capture](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/6/600760cce9580e10091a1f5f7f3a121ad5a42485.jpeg)

---

<div class="post-metadata">

**Author:** ![clay](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/clay/32/8248_2.png) [@clay](https://community.localwp.com/u/clay)\
**Post date:** [August 10, 2020, 9:09pm UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065/4 "2020-08-10T21:09:58Z")

</div>

Hi all,

Sorry for the trouble!

If you run into this, please try clicking on the dropdown (even if it’s blank) in the “PHP Version” row and then selecting a version and clicking Apply. (Note, this requires Local 5.6.8 or newer)

---

<div class="post-metadata">

**Author:** ![j3price](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@j3price](https://community.localwp.com/u/j3price)\
**Post date:** [August 10, 2020, 9:19pm UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065/5 "2020-08-10T21:19:01Z")

</div>

I’ve tried swapping the php version. Also cloning the site as suggested in another post. Unfortunately it gave an error as per previously attached.

---

<div class="post-metadata">

**Author:** ![j3price](https://avatars.discourse-cdn.com/v4/letter/j/ec9cab/32.png) [@j3price](https://community.localwp.com/u/j3price)\
**Post date:** [August 10, 2020, 9:22pm UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065/6 "2020-08-10T21:22:14Z")

</div>

![Capture3JPG](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/2X/3/30c19ab63f3f1d497c653c17b926d3c91cf93260.jpeg)

When trying to swap service

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [November 8, 2020, 9:22pm UTC](https://community.localwp.com/t/php-update-failed-and-cant-access-my-local-site-now/21065/7 "2020-11-08T21:22:16Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
