Level 2
That means you do not have write permission on your project folder. Create a new folder, say 'myproject and run sudo chmod 777 myproject. Then move to 'myproject' folder and create project.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
when I tried to create the laravel project with composer the following error occurs . [ErrorException] mkdir(): Permission denied
Please or to participate in this conversation.