# GoDaddy sub directory running PHP 5.6

**URL:** <https://community.localwp.com/t/godaddy-sub-directory-running-php-5-6/40730>\
**Category:** WordPress Questions\
**Tags:** hosts-file\
**Created:** [January 7, 2024, 6:05pm UTC](https://community.localwp.com/t/godaddy-sub-directory-running-php-5-6/40730 "2024-01-07T18:05:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gmarankie](https://avatars.discourse-cdn.com/v4/letter/g/4af34b/32.png) [@gmarankie](https://community.localwp.com/u/gmarankie)\
**Post date:** [January 7, 2024, 6:05pm UTC](https://community.localwp.com/t/godaddy-sub-directory-running-php-5-6/40730/1 "2024-01-07T18:05:23Z")

</div>

Hello,

My old site was running on PHP 5.6 and had to create a new site. I cloned the old site to an unused domain, which was completely accessible when switching PHP version in the Godaddy backend, the new site I was building was compromised with malware so I had to start over, deleting all sub directories. I have complete backup from when it was functional, but I do not know how to access the sub directory using Local. So basically it located in folder backup-xxxxx/homedir/public\_html/oldsite

The new, root site was being created in PHP 8+, the old site I need to access in the sub directory was 5.6ish.

I can’t figure out how to access that old site. Any help would be most appreciated.

Thank you,

Greg

---

<div class="post-metadata">

**Author:** ![sambrockway](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/sambrockway/32/18726_2.png) [@sambrockway](https://community.localwp.com/u/sambrockway)\
**Post date:** [January 9, 2024, 4:04pm UTC](https://community.localwp.com/t/godaddy-sub-directory-running-php-5-6/40730/2 "2024-01-09T16:04:26Z")

</div>

Hello @gmarankie - welcome to the Local community! 👋

Did you follow the steps shared here in this help doc to import your site?

> **[Import/Export a WordPress Site](https://localwp.com/help-docs/getting-started/how-to-import-a-wordpress-site-into-local/)**
>
> This help document will walk you through how to import and export a site to and from Local. It will also go over how to restore from only Local site files. Table of Contents: Local is pretty flexible…

Perhaps using WP Migrate to export would allow you to export just the site you want to work with outside of the subdirectory and then you can import into Local as a standalone site.

Let me know if that helps!

Sam
