in , ,

How to install WP-CLI and PHP Composer in 3 Steps for Linux

WP-CLI PHP Composer
WP-CLI PHP Composer

When Trying to deploy LAMP/LEMP server to serve a WordPress CMS website, you can go right way to manage your WordPress in a professional way, by installing WP-CLI WordPress interface tool, and PHP Composer.

For any Linux distribution, you can run the following 3 steps to complete installation of the major WordPress and PHP CLI tools.

Installing WP-CLI

# curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
# php wp-cli.phar --info
# chmod +x wp-cli.phar
# mv wp-cli.phar /usr/local/bin/wp

Installing Composer

# curl -sS https://getcomposer.org/installer | php
# chmod +x composer.phar
# mv composer.phar /usr/local/bin/composer

What do you think?

10 Points
Upvote Downvote

Leave a Reply

Your email address will not be published. Required fields are marked *

Retropie Sega CD Roms Collection - The Second Collection

Retropie Sega CD Roms Collection – The Second Collection

7 Wordpress news and magazine plugins

Top 7 Most Wanted WordPress Plugins For News and Magazine Website