Last active
October 7, 2020 15:32
-
-
Save mt8/2596fe45a505452ba0cb7eeb7d5b172c to your computer and use it in GitHub Desktop.
エックスサーバー でwp-cliをPHPバージョン指定して動かすエイリアス
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo 'alias wp="/opt/php-7.4.4/bin/php /usr/bin/wp"' >> ~/.bashrc | |
source ~/.bashrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment