Answer the question
In order to leave comments, you need to log in
Composer on shared hosting?
I configure on virtual hosting (from Timeweb) composer: alias composer='/usr/local/bin/php -d memory_limit=750M /home/l/xxxxx/composer.phar'. After I log in to ssh, the composer command is not found. What needs to be added to prevent this from happening?
Answer the question
In order to leave comments, you need to log in
Write the same in ~/.bashrc, as I understand it, you just entered it in the console, right?
nano ~/.bashrc
add this line
Ctrl+O Ctrl+X - save and exit
bash - start a new session
Now this alias will be determined on every start
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question