Composer on Arch
Assumption: You have your LAMP setup based on the Arch Wiki
Step 1 - Download & Install Composer (www.getcomposer.com)
curl -sS https://getcomposer.org/installer | php
(sudo) mv composer.phar /usr/local/bin/composer
Step 2 - Editing your php.ini
- Un-comment extension=phar.so
- Un-comment extension=openssl.so
- Go to open_basedir declaration (line 309 for me) - Add ":/user/local/bin" to the end
Step 3 - Restart Httpd Server
sudo systemctl restart httpd
Step 4 - Update Composer (Recommended)
(sudo) composer self-update
Written by EdgeTor
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Composer
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#