# Error Installing WordPress while creating new site

**URL:** <https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566>\
**Category:** Archived Support\
**Created:** [February 14, 2023, 5:15pm UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566 "2023-02-14T17:15:15Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![VikLimitLess](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@VikLimitLess](https://community.localwp.com/u/VikLimitLess)\
**Post date:** [February 14, 2023, 5:15pm UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/1 "2023-02-14T17:15:15Z")

</div>

### Issue Summary

Just now installed the latest version of local Flywheel on MAC. While creating the site it throws an error.

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular? - This is happening for all the sites

- Are you able to create a new, plain WordPress site in Local and access it in a Browser? No ☹

#### System Details

- Which version of Local is being used? - Local 6.6.1

- What Operating System (OS) and OS version is being used?

---

<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:** [February 14, 2023, 6:08pm UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/2 "2023-02-14T18:08:36Z")

</div>

Hi there @VikLimitLess - welcome to the Local community! 👋

To give a little more information, can you please share your Local logs?

Here is how to obtain those:

> **[Retrieving Local’s Log File](https://localwp.com/help-docs/troubleshooting/retrieving-locals-log-file/)**
>
> A big part of troubleshooting errors, on any website or application, is the log file. This file contains a record of actions or errors that have occurred when a process is done. When reaching out for…

Thank you!

Sam

---

<div class="post-metadata">

**Author:** ![VikLimitLess](https://avatars.discourse-cdn.com/v4/letter/v/96bed5/32.png) [@VikLimitLess](https://community.localwp.com/u/VikLimitLess)\
**Post date:** [February 15, 2023, 6:07am UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/3 "2023-02-15T06:07:59Z")

</div>

Hi @sambrockway , Thank you for looking into it.  
Please find the attached log file.  
[local-logs.zip](https://community.localwp.com/uploads/short-url/v1MYsYHaioTpbrPC4qPy9YgzLYc.zip) (8.2 KB)

---

<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:** [February 15, 2023, 6:00pm UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/4 "2023-02-15T18:00:29Z")

</div>

Hello @VikLimitLess -

Thank you for providing those error logs.

Here are a few things you can try 👇

1. Do you have an Antivirus installed by chance? If so, I’d recommend checking out this forum thread with some ideas:

> [@Help! I'm running into an EPERM error with the hosts file on Windows](http://community.localwp.com/t/help-im-running-into-an-eperm-error-with-the-hosts-file-on-windows/3508):
>
> This is usually caused by the hosts file being set to read-only or locked by anti-virus. 1. Remove Read-only Attribute Go to C:\Windows\System32\drivers\etc Right-click on the hosts file and go to “Properties” Uncheck “Read-only” Click “Apply” Re-open Local Screenshot 2. Anti-Virus/Internet Security Avira See [https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90](https://answers.avira.com/en/question/avira-blocks-hosts-file-what-can-i-do-90)Kaspersky Total Security Open Kaspsersky Total Security Go to “More Tools” Go …

1. Also, sometimes the error shown here indicates that the `wpcli` command that Local tried to run didn’t work. One option is to try and install this site on an older version of PHP to see if the site’s code is compatible with an older version.

Let me know if either of these troubleshooting tips work for you!

Sam

---

<div class="post-metadata">

**Author:** ![OlaTee](https://avatars.discourse-cdn.com/v4/letter/o/71e660/32.png) [@OlaTee](https://community.localwp.com/u/OlaTee)\
**Post date:** [March 14, 2023, 1:44am UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/5 "2023-03-14T01:44:28Z")

</div>

having the same problem.  
i have disabled anti virus  
changed site domains to localhost

- Which version of Local is being used? - Local 6.6.1
- What Operating System (OS) and OS version is being used? Windows 10

![error](https://us1.discourse-cdn.com/flex019/uploads/lwpforums/original/3X/9/e/9ec76e9f9dd14cfc2fb61f9dbbc22e44f95f80aa.png)

here is my local log file

[local-logs.zip](https://community.localwp.com/uploads/short-url/cqOCYMiVNpgDoIVrmwVliq7ilVv.zip) (4.3 KB)

run out of ideas.  
help please

---

<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:** [March 14, 2023, 12:52pm UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/6 "2023-03-14T12:52:01Z")

</div>

Hello @OlaTee -

Thank you for sharing your troubleshooting steps. Did you happen to try my second suggestion above?

> Also, sometimes the error shown here indicates that the `wpcli` command that Local tried to run didn’t work. One option is to try and install this site on an older version of PHP to see if the site’s code is compatible with an older version.

Let me know!

Sam

---

<div class="post-metadata">

**Author:** ![OlaTee](https://avatars.discourse-cdn.com/v4/letter/o/71e660/32.png) [@OlaTee](https://community.localwp.com/u/OlaTee)\
**Post date:** [March 14, 2023, 2:51pm UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/7 "2023-03-14T14:51:25Z")

</div>

@sambrockway Oh yes. Was troubleshooting all night. The earlier version of php helped. Thank you

---

<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:** [March 14, 2023, 3:44pm UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/8 "2023-03-14T15:44:44Z")

</div>

Hi @OlaTee - so glad to know this!

Sam

---

<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:** [March 16, 2023, 3:45am UTC](https://community.localwp.com/t/error-installing-wordpress-while-creating-new-site/35566/9 "2023-03-16T03:45:31Z")

</div>

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