I have installed XAMPP v1.8.3 for my PHP development. I am new to Ubuntu, so I don't know how to set environment variable for PHP which is located at /opt/lampp/bin/php
.
I can run PHP scripts from localhost
just fine, but I wanted to run them from the command line as well.
I want to set this variable for every user, since I am the only one who uses this system.