linux - Ubuntu replace PHP path -
i have installed ampps , add /usr/local/ampps/php/bin
/ect/environment
, when rebooted laptop worked out, after used sudo apt-get install composer
, installed dependencies on ubuntu including php, php --ini
showing path /usr/local/ampps/php/bin
how can change ampps folder?
you can add new path this:
vi ~/.bashrc export path=$path:/usr/local/ampps/php/bin
you can edit path whatever like
Comments
Post a Comment