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

ubuntu - PHP script to find files of certain extensions in a directory, returns populated array when run in browser, but empty array when run from terminal -

php - How can i create a user dashboard -

javascript - How to detect toggling of the fullscreen-toolbar in jQuery Mobile? -