Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have tried to install composer via this method on centos 7.
Code:
yum install composer
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.shinjiru.com
* epel: mirror1.ku.ac.th
* extras: centos.shinjiru.com
* ius: ord.mirror.rackspace.com
* updates: centos.shinjiru.com
153 packages excluded due to repository priority protections
Package composer-1.8.6-1.el7.noarch already installed and latest version
Nothing to do
The problem thereafter is that when I tried to run e.g. composer -V or any command no error etc. How to find the exact issue on this ?
I did a find and saw its install in this folder /usr/share/composer unlike if manual guide it say to be on /usr/lib/bin? So how to resolve this composer to be able to run ?
I have even edit the php.ini to open_basedir = /var/www/html/:/usr/share/composer/ but yet it not working.
I have tried to install composer via this method on centos 7.
Code:
yum install composer
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
* base: centos.shinjiru.com
* epel: mirror1.ku.ac.th
* extras: centos.shinjiru.com
* ius: ord.mirror.rackspace.com
* updates: centos.shinjiru.com
153 packages excluded due to repository priority protections
Package composer-1.8.6-1.el7.noarch already installed and latest version
Nothing to do
The problem thereafter is that when I tried to run e.g. composer -V or any command no error etc. How to find the exact issue on this ?
I did a find and saw its install in this folder /usr/share/composer unlike if manual guide it say to be on /usr/lib/bin? So how to resolve this composer to be able to run ?
I have even edit the php.ini to open_basedir = /var/www/html/:/usr/share/composer/ but yet it not working.
The result "no error etc." is not informative.
What is the output?
If there is no output say so: and tell us what the log reports.
You need to give us better information.
So that's a yes? That is the software you're asking about?
The second link is about how to use the software. Obviously, you shouldn't do things you think are already done, like the basic installation, but that looks to be the go-to source for documentation if the install didn't add man pages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.