Welcome Guest, Not a member yet? Register   Sign In
composer require get error in centos 7
#6

(This post was last modified: 10-30-2020, 05:04 AM by captain-sensible.)

Quote:Ok. That's weird you have the bash script in your framework version.

i don't understand that part or see why there should be a bash script .

@tmtuan can you elaborate on that bash script ,where it comes from, i can't (maybe i'm blind) see what a bash script has to do with CI4.Of course as a Linux user, i might be highly embarrassed here, when somebody tells me ?

As a Linux user though , i did spot you are using Composer as # (ROOT) , i always use as $; i think i read its not a good idea to use composer as root.

https://getcomposer.org/doc/faqs/how-to-...-safely.md



What i do on dev, is that i part of "users" group also joined the apache group; on dev i make my dir chmod 775 -R

then i can cd into dir and run composer just using $.



When you use composer for software its usually autoloaded, so there's no post install certainly not with bash .


Also if your using composer why not use it from the beginning ?

Code:
composer composer create-project codeigniter4/appstarter --no-dev


i prefer appstarter , it seems that git download is "codeigniter4/codeigniter4-standard": "^1.0


i never really never went deep into differences once i found appstarter met my needs ?

But yes as paul says , post composer.json. Also if anyone wants to educated me why i should use anything else but appstarter?
Reply


Messages In This Thread
RE: composer require get error in centos 7 - by captain-sensible - 10-30-2020, 04:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB