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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -