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

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -