/    Sign up×
Community /Pin to ProfileBookmark

Deploy Laravel project to Server

Dear All,

I uploaded my Laravel Project to Server by remove “vendor” directory and then run command “composer install –no-dev”
then I got error message

“`Do not run Composer as root/super user! See https://getcomposer.org/root for details
Continue as root/super user [yes]? yes
Installing dependencies from lock file
Verifying lock file contents can be installed on current platform.
Your lock file does not contain a compatible set of packages. Please run composer update.

Problem 1
– league/commonmark is locked to version 2.0.2 and an update of this package was not requested.
– league/commonmark 2.0.2 requires php ^7.4 || ^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 2
– league/config is locked to version v1.1.1 and an update of this package was not requested.
– league/config v1.1.1 requires php ^7.4 || ^8.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 3
– psr/container is locked to version 1.1.2 and an update of this package was not requested.
– psr/container 1.1.2 requires php >=7.4.0 -> your php version (7.3.33) does not satisfy that requirement.
Problem 4
– league/commonmark 2.0.2 requires php ^7.4 || ^8.0 -> your php version (7.3.33) does not satisfy that requirement.
– laravel/framework v8.74.0 requires league/commonmark ^1.3|^2.0.2 -> satisfiable by league/commonmark[2.0.2].
– laravel/framework is locked to version v8.74.0 and an update of this package was not requested.
“`

to post a comment
PHP

1 Comments(s)

Copy linkTweet thisAlerts:
@justbenDec 05.2021 — if i remember correctly, you upload the public folder to www/html and then everything else goes one directory up. this video should explain it better then me

[https://www.youtube.com/watch?v=6g8G3YQtQt4](https://)
×

Success!

Help @Nitiphone spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...