# HTTP ERROR 500 & missing .php files

**URL:** https://community.kinsta.com/t/http-error-500-missing-php-files/1100
**Category:** Installation
**Created:** [November 7, 2021, 11:52pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100 "2021-11-07T23:52:30Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)
#### Post date: [November 7, 2021, 11:52pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/1 "2021-11-07T23:52:30Z")

</div>

hi, I just tried to pull our staging site [[https://staging-pacbio.kinsta.cloud/](https://staging-pacbio.kinsta.cloud/)] down to my local machine and after it completed the build when i try and launch the site i get an “HTTP ERROR 500” message. Also, when i look in the wp-includes folder it looks like the .php files were not transferred over successfully. any idea how i can rectify this? thanks!

---

<div class="post-metadata">

### Author: ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)
#### Post date: [November 9, 2021, 12:01am UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/2 "2021-11-09T00:01:47Z")

</div>

hi @michael - just wondering if anyone’s had a chance to look into this issue for us. thank you so much in advance!

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 9, 2021, 2:26pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/3 "2021-11-09T14:26:45Z")

</div>

Hi @aaronblomberg . I’m sorry for the wait here. I don’t have an update yet to provide I’m afraid. Developers here are still looking into this [from this topic here](https://community.kinsta.com/t/imported-website-throws-http-error-500-and-not-opens-in-local-server-failed-to-open-stream/755/4). Could you confirm that your DevKinsta is on the latest version 2.2.0?

---

<div class="post-metadata">

### Author: ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)
#### Post date: [November 9, 2021, 3:44pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/4 "2021-11-09T15:44:35Z")

</div>

hi @michael - correct, i’m running the latest version of 2.2.0 [see attached]. Let me know if there’s anything else i can provide, thanks!

![Screen Shot 2021-11-09 at 7.43.16 AM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/3a7674a51ca53bf8ea70662bad2749ab89275a46.png)

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 10, 2021, 2:55pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/5 "2021-11-10T14:55:49Z")

</div>

Hi @aaronblomberg . We just released [2.3.0.](https://devkinsta.com) Could you let us know if this continues on that as well?

---

<div class="post-metadata">

### Author: ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)
#### Post date: [November 10, 2021, 4:22pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/6 "2021-11-10T16:22:47Z")

</div>

hi @michael - i updated to 2.3.0 and attempted another pull from kinsta and the same issue is happening. the wp-includes folders is still not copying over any of the files - see attached. could it be a permissions issue? any idea on what we could try? hopefully can get this resolved soon or might need to look into an entirely different solution since this is pretty time-sensitive. Thanks in advance!

 ![Screen Shot 2021-11-10 at 8.20.51 AM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/e2b3d8a8e6dc20914e9ecdfa883253c2d6b41559.png)

---

<div class="post-metadata">

### Author: ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)
#### Post date: [November 10, 2021, 4:28pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/7 "2021-11-10T16:28:26Z")

</div>

this is what i see when i try to launch the local build:

 ![Screen Shot 2021-11-10 at 8.27.52 AM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/7f16db54b792b4e1847b57d46795937fd9171aa2.png)

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 10, 2021, 9:44pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/8 "2021-11-10T21:44:10Z")

</div>

Thank you for that @aaronblomberg . We’re still looking into this here.

---

<div class="post-metadata">

### Author: ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)
#### Post date: [November 11, 2021, 1:49am UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/9 "2021-11-11T01:49:10Z")

</div>

hi @michael - so i was able to pull the site down to my local machine by deactivating all the plugins from staging, then pulling the site down, and then re-activating the plugins. There is an insane amount of plugins being used on the site right now and i am hoping to eliminate the need for most of them so hopefully this will no longer be an issue. Here is a list of all the plugins that are currently being used [again, i will be removing as many as possibe] but do you see any plugins on this list that may have directly caused the issue? Thanks!

1. ACF Content Analysis for Yoast SEO
2. Advanced Custom Fields PRO
3. Advanced Editor Tools (previously TinyMCE Advanced)
4. Ajax Upload for Gravity Forms
5. Akismet Anti-Spam
6. ARVE Advanced Responsive Video Embedder
7. ARVE Pro Addon
8. Better Search Replace
9. Broken Link Checker
10. Classic Editor
11. Custom Post Type UI
12. Disable auto-update Email Notifications
13. Disable Comments
14. Duplicator
15. Duplicator Pro
16. Email Address Encoder
17. Enable Media Replace
18. Facebook for WordPress
19. FacetWP
20. Gravity Forms
21. Hide YouTube Related Videos
22. HyperArts Announcement Images for PacBio
23. Imagify
24. Imagify | No Auto-Optimization for PDFs
25. Magic Liquidizer Responsive Table
26. Master Slider Pro
27. PacBio Genomic Project Builder
28. Pardot
29. Post Expirator
30. Public Post Preview
31. Really Simple SSL
32. Redirection
33. Revisionize
34. SearchWP
35. SearchWP Boolean Query
36. Share Buttons by AddThis
37. Shared Counts
38. SVG Support
39. WordPress Backup & Security Plugin - BlogVault
40. WordPress Importer
41. WP 2FA - Two-factor authentication for WordPress
42. WP All Export Pro
43. WP All Import - ACF Add-On
44. WP All Import Pro
45. WP File Manager - PRO
46. WP Migrate DB Pro
47. WP Migrate DB Pro Media Files
48. WP Rocket
49. Yoast SEO

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 11, 2021, 2:14pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/10 "2021-11-11T14:14:09Z")

</div>

@aaronblomberg That’s very strange. The transfers are done via sFTP so not sure how a plugin would have anything to do with it. The only thing that comes to mind is that the site is rather large. We’ve had reports in the past that large sites failed to import, but it wasn’t specific to PHP files and has seen been resolved with the last couple updates. We’ll run some more tests on this with large sites but if you learn anything else with the plugins, please do let us know! I really appreciate you sharing this information!

---

<div class="post-metadata">

### Author: ![aaronblomberg](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/aaronblomberg/32/655_2.png) [@aaronblomberg](https://community.kinsta.com/u/aaronblomberg)
#### Post date: [November 11, 2021, 11:23pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/11 "2021-11-11T23:23:14Z")

</div>

thanks @michael - i’ll let you know if i find or figure out more as to what the issue may be as i’m working on the new build and will keep you posted. thanks!

---

<div class="post-metadata">

### Author: ![Kato](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@Kato](https://community.kinsta.com/u/Kato)
#### Post date: [November 12, 2021, 8:58am UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/12 "2021-11-12T08:58:53Z")

</div>

Hi,  
Just want to add that this exact problem just occurred for me. The files in wp-includes were missing.

I am on Windows version 2.3.0.

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 12, 2021, 2:09pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/13 "2021-11-12T14:09:45Z")

</div>

Welcome to DevKinsta @Kato and thanks for letting us know! Would you mind privately messaging me here on the forums and letting me know your site address so I can take a look at what’s being imported?

---

<div class="post-metadata">

### Author: ![mbonanno](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/mbonanno/32/773_2.png) [@mbonanno](https://community.kinsta.com/u/mbonanno)
#### Post date: [November 16, 2021, 3:05am UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/14 "2021-11-16T03:05:45Z")

</div>

I’m having the same issue. Things were working for me a few months ago. Then I attempted to redownload the site and I get the 500 errors, there is not wp-includes folder. Just installed 2.3 and the latest Docker. Running MacOS 11.6, 32 GB Ram.

After using SFTP to download the wp-includes files I now get this error

 ![Screen Shot 2021-11-15 at 10.00.14 PM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/c08c4cf0384f51ad5cd29298807240e7821c6bba.png)

here’s what keeps getting put in the access log  
[16/Nov/2021:03:00:01 +0000] “GET /wp-signup.php?new=mindfulstagingp.local HTTP/2.0” 302 0 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10\_15\_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36” “-”

---

<div class="post-metadata">

### Author: ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)
#### Post date: [November 16, 2021, 2:11pm UTC](https://community.kinsta.com/t/http-error-500-missing-php-files/1100/15 "2021-11-16T14:11:15Z")

</div>

Welcome to DevKinsta @mbonanno ! I’m sorry to hear you’re having the same issue here.

> [@mbonanno](#):
>
> After using SFTP to download the wp-includes files I now get this error

This appears to be a separate issue related to having a WordPress Multisite. You’ll need to ensure that the wp-config.php file has the proper configuration for a Multisite, and [any additional domains are included in the host file](https://community.kinsta.com/t/creating-a-multisite-in-devkinsta/1066).
