Windows permissions issue when creating WordPress site

  • | 4834 points

    Hi everyone.

    Using Laragon 2.05 on Windows 10, I went to create a new WordPress project as I have done many times. Before completing the installation it asked for administrator rights which I said okay, then it said I didn't have the correct permission!? Now I have a folder sitting in laragon/www which I can't open, delete or modify the security settings for? Any ideas?

    After googling around and checking this link:

    I have tried the following commands with the command prompt as administrator:

    C:\WINDOWS\system32> icacls "C:\laragon\www\wordpress-site" /grant dominic:(OI)(CI)F /T
    C:\laragon\www\wordpress-site: Access is denied.
    Successfully processed 0 files; Failed processing 1 files

    When I try to modify the security settings I have the following (image below) which all leads to "Access denied" or something to that effect.


    Any help would be appreciated!

  • | 4834 points

    Just restarted my PC and the folder is no longer there?! I'll upgrade Laragon now and hope this doesn't happen again!

  • administrators
    | 131258 points

    @haakym : When Laragon asking for Administrator right, it wants to add host entry to the hosts file. As the Quick-create feature is idempotent, if you see the same issue, I think you can delete the folder and just try re-creating.

  • | 4834 points

    @leokhoa Thanks a lot I'm going to give it another shot now, just installed 2.1.0

    Quick question, was I supposed to remove 2.0.5 (apache) before installing 2.1.0 (nginx)? As I just installed on top of it and I still see apache as the server option - no big issue really but just curious!

  • administrators
    | 131258 points

    @haakym : With Laragon, you can use both Apache & Nginx. Apache for legacy apps and Nginx for speed.
    When having Apache, Nginx will listen on port 8080 by default. You can change their ports on Menu > Preferences > Services & Ports.
    If you don't need Apache or Nginx, just uncheck the service you don't want to use.

    So the short answer is you don't need to :)

Log in to reply

Looks like your connection to Laragon was lost, please wait while we try to reconnect.