Permission denied error when create a new laravel project (Ubuntu Lemp stack)How can I resolve “Your requirements could not be resolved to an installable set of packages” error?Nginx no-www to www and www to no-wwwReference - What does this error mean in PHP?nginx on Ubuntu: Permission deniedfile_put_contents(meta/services.json): failed to open stream: Permission deniedHow to fix Error: mkdir(): Permission denied when running composermkdir(): Permission denied LaravelHow to give permission for my Laravel application create subfolders in a directory (Ubuntu)How to create a LEMP stack with docker-compose?Laravel app using Symfony to execute a Python script on LEMP stack - Permission deniedSetting up proper permissions for laravel app in ubuntu
When writing an error prompt, should we end the sentence with a exclamation mark or a dot?
Does there exist a word to express a male who behaves as a female?
Complex sentence - words lacking?
Average spam confidence
After the loss of Challenger, why weren’t Galileo and Ulysses launched by Centaurs on expendable boosters?
Are "living" organ banks practical?
What's the correct term for a waitress in the Middle Ages?
Why is the relationship between frequency and pitch exponential?
Secure offsite backup, even in the case of hacker root access
What can plausibly explain many of my very long and low-tech bridges?
Building a road to escape Earth's gravity by making a pyramid on Antartica
PL/SQL function to receive a number and return its binary format
Why heater blocks on hotends?
Can a user sell my software (MIT license) without modification?
How can drunken, homicidal elves successfully conduct a wild hunt?
When conversion from Integer to Single may lose precision
Can you really not move between grapples/shoves?
Why don't B747s start takeoffs with full throttle?
How can you travel on a trans-Siberian train when it is fully booked?
Was the Tamarian language in "Darmok" inspired by Jack Vance's "The Asutra"?
Etymology of 'calcit(r)are'?
How Can I Tell The Difference Between Unmarked Sugar and Stevia?
Strat tremolo bar has tightening issues
Movie about a boy who was born old and grew young
Permission denied error when create a new laravel project (Ubuntu Lemp stack)
How can I resolve “Your requirements could not be resolved to an installable set of packages” error?Nginx no-www to www and www to no-wwwReference - What does this error mean in PHP?nginx on Ubuntu: Permission deniedfile_put_contents(meta/services.json): failed to open stream: Permission deniedHow to fix Error: mkdir(): Permission denied when running composermkdir(): Permission denied LaravelHow to give permission for my Laravel application create subfolders in a directory (Ubuntu)How to create a LEMP stack with docker-compose?Laravel app using Symfony to execute a Python script on LEMP stack - Permission deniedSetting up proper permissions for laravel app in ubuntu
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
Ubuntu also works with nginx server (Lemp Stack).
I can't create a new laravel project in /var/www folder. I got this error when i want to:
[ErrorException]
mkdir(): Permission denied
How can i solve this problem ?
php linux laravel ubuntu nginx
add a comment |
Ubuntu also works with nginx server (Lemp Stack).
I can't create a new laravel project in /var/www folder. I got this error when i want to:
[ErrorException]
mkdir(): Permission denied
How can i solve this problem ?
php linux laravel ubuntu nginx
what are the permissions of/var/www
and what is the user you're running the script under?
– Oleksandr Kravchuk
Mar 24 at 15:39
How can i see permission of /var/ww ? Sorry i'm new for ubuntu.
– dlpnt
Mar 24 at 15:44
add a comment |
Ubuntu also works with nginx server (Lemp Stack).
I can't create a new laravel project in /var/www folder. I got this error when i want to:
[ErrorException]
mkdir(): Permission denied
How can i solve this problem ?
php linux laravel ubuntu nginx
Ubuntu also works with nginx server (Lemp Stack).
I can't create a new laravel project in /var/www folder. I got this error when i want to:
[ErrorException]
mkdir(): Permission denied
How can i solve this problem ?
php linux laravel ubuntu nginx
php linux laravel ubuntu nginx
asked Mar 24 at 15:35
dlpntdlpnt
245
245
what are the permissions of/var/www
and what is the user you're running the script under?
– Oleksandr Kravchuk
Mar 24 at 15:39
How can i see permission of /var/ww ? Sorry i'm new for ubuntu.
– dlpnt
Mar 24 at 15:44
add a comment |
what are the permissions of/var/www
and what is the user you're running the script under?
– Oleksandr Kravchuk
Mar 24 at 15:39
How can i see permission of /var/ww ? Sorry i'm new for ubuntu.
– dlpnt
Mar 24 at 15:44
what are the permissions of
/var/www
and what is the user you're running the script under?– Oleksandr Kravchuk
Mar 24 at 15:39
what are the permissions of
/var/www
and what is the user you're running the script under?– Oleksandr Kravchuk
Mar 24 at 15:39
How can i see permission of /var/ww ? Sorry i'm new for ubuntu.
– dlpnt
Mar 24 at 15:44
How can i see permission of /var/ww ? Sorry i'm new for ubuntu.
– dlpnt
Mar 24 at 15:44
add a comment |
2 Answers
2
active
oldest
votes
Use sudo before your command like
sudo composer create-project --prefer-dist laravel/laravel blog
It is instaling right now. Thank you.
– dlpnt
Mar 24 at 15:48
But i got this error "Your requirements could not be resolved to an installable set of packages". Have lines of phpunit codes.
– dlpnt
Mar 24 at 15:50
You may not have all extensions required by your application kindly show me full error
– ShuBham GuPta
Mar 24 at 15:58
See here : stackoverflow.com/questions/29318709/…
– Always Sunny
Mar 24 at 15:59
Here is my errors; postimg.cc/MM62DZMb
– dlpnt
Mar 24 at 16:12
|
show 4 more comments
Always use the keyword "sudo" while trying to install something or accessing protected files / directories as "sudo" will give you highest credentials for it.
Thank you for answer.
– dlpnt
Mar 24 at 16:59
You're welcome, I can see that you can not upvote my answer as you dont have enough reputation on SOF.
– Hank Moody
Mar 24 at 18:31
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325456%2fpermission-denied-error-when-create-a-new-laravel-project-ubuntu-lemp-stack%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
Use sudo before your command like
sudo composer create-project --prefer-dist laravel/laravel blog
It is instaling right now. Thank you.
– dlpnt
Mar 24 at 15:48
But i got this error "Your requirements could not be resolved to an installable set of packages". Have lines of phpunit codes.
– dlpnt
Mar 24 at 15:50
You may not have all extensions required by your application kindly show me full error
– ShuBham GuPta
Mar 24 at 15:58
See here : stackoverflow.com/questions/29318709/…
– Always Sunny
Mar 24 at 15:59
Here is my errors; postimg.cc/MM62DZMb
– dlpnt
Mar 24 at 16:12
|
show 4 more comments
Use sudo before your command like
sudo composer create-project --prefer-dist laravel/laravel blog
It is instaling right now. Thank you.
– dlpnt
Mar 24 at 15:48
But i got this error "Your requirements could not be resolved to an installable set of packages". Have lines of phpunit codes.
– dlpnt
Mar 24 at 15:50
You may not have all extensions required by your application kindly show me full error
– ShuBham GuPta
Mar 24 at 15:58
See here : stackoverflow.com/questions/29318709/…
– Always Sunny
Mar 24 at 15:59
Here is my errors; postimg.cc/MM62DZMb
– dlpnt
Mar 24 at 16:12
|
show 4 more comments
Use sudo before your command like
sudo composer create-project --prefer-dist laravel/laravel blog
Use sudo before your command like
sudo composer create-project --prefer-dist laravel/laravel blog
answered Mar 24 at 15:43
ShuBham GuPtaShuBham GuPta
10413
10413
It is instaling right now. Thank you.
– dlpnt
Mar 24 at 15:48
But i got this error "Your requirements could not be resolved to an installable set of packages". Have lines of phpunit codes.
– dlpnt
Mar 24 at 15:50
You may not have all extensions required by your application kindly show me full error
– ShuBham GuPta
Mar 24 at 15:58
See here : stackoverflow.com/questions/29318709/…
– Always Sunny
Mar 24 at 15:59
Here is my errors; postimg.cc/MM62DZMb
– dlpnt
Mar 24 at 16:12
|
show 4 more comments
It is instaling right now. Thank you.
– dlpnt
Mar 24 at 15:48
But i got this error "Your requirements could not be resolved to an installable set of packages". Have lines of phpunit codes.
– dlpnt
Mar 24 at 15:50
You may not have all extensions required by your application kindly show me full error
– ShuBham GuPta
Mar 24 at 15:58
See here : stackoverflow.com/questions/29318709/…
– Always Sunny
Mar 24 at 15:59
Here is my errors; postimg.cc/MM62DZMb
– dlpnt
Mar 24 at 16:12
It is instaling right now. Thank you.
– dlpnt
Mar 24 at 15:48
It is instaling right now. Thank you.
– dlpnt
Mar 24 at 15:48
But i got this error "Your requirements could not be resolved to an installable set of packages". Have lines of phpunit codes.
– dlpnt
Mar 24 at 15:50
But i got this error "Your requirements could not be resolved to an installable set of packages". Have lines of phpunit codes.
– dlpnt
Mar 24 at 15:50
You may not have all extensions required by your application kindly show me full error
– ShuBham GuPta
Mar 24 at 15:58
You may not have all extensions required by your application kindly show me full error
– ShuBham GuPta
Mar 24 at 15:58
See here : stackoverflow.com/questions/29318709/…
– Always Sunny
Mar 24 at 15:59
See here : stackoverflow.com/questions/29318709/…
– Always Sunny
Mar 24 at 15:59
Here is my errors; postimg.cc/MM62DZMb
– dlpnt
Mar 24 at 16:12
Here is my errors; postimg.cc/MM62DZMb
– dlpnt
Mar 24 at 16:12
|
show 4 more comments
Always use the keyword "sudo" while trying to install something or accessing protected files / directories as "sudo" will give you highest credentials for it.
Thank you for answer.
– dlpnt
Mar 24 at 16:59
You're welcome, I can see that you can not upvote my answer as you dont have enough reputation on SOF.
– Hank Moody
Mar 24 at 18:31
add a comment |
Always use the keyword "sudo" while trying to install something or accessing protected files / directories as "sudo" will give you highest credentials for it.
Thank you for answer.
– dlpnt
Mar 24 at 16:59
You're welcome, I can see that you can not upvote my answer as you dont have enough reputation on SOF.
– Hank Moody
Mar 24 at 18:31
add a comment |
Always use the keyword "sudo" while trying to install something or accessing protected files / directories as "sudo" will give you highest credentials for it.
Always use the keyword "sudo" while trying to install something or accessing protected files / directories as "sudo" will give you highest credentials for it.
answered Mar 24 at 16:24
Hank MoodyHank Moody
216
216
Thank you for answer.
– dlpnt
Mar 24 at 16:59
You're welcome, I can see that you can not upvote my answer as you dont have enough reputation on SOF.
– Hank Moody
Mar 24 at 18:31
add a comment |
Thank you for answer.
– dlpnt
Mar 24 at 16:59
You're welcome, I can see that you can not upvote my answer as you dont have enough reputation on SOF.
– Hank Moody
Mar 24 at 18:31
Thank you for answer.
– dlpnt
Mar 24 at 16:59
Thank you for answer.
– dlpnt
Mar 24 at 16:59
You're welcome, I can see that you can not upvote my answer as you dont have enough reputation on SOF.
– Hank Moody
Mar 24 at 18:31
You're welcome, I can see that you can not upvote my answer as you dont have enough reputation on SOF.
– Hank Moody
Mar 24 at 18:31
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55325456%2fpermission-denied-error-when-create-a-new-laravel-project-ubuntu-lemp-stack%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
what are the permissions of
/var/www
and what is the user you're running the script under?– Oleksandr Kravchuk
Mar 24 at 15:39
How can i see permission of /var/ww ? Sorry i'm new for ubuntu.
– dlpnt
Mar 24 at 15:44