I have my lampp installed in the default /opt/lampp
directory and the PHP code is in the htdocs
folder. Now, to edit any of the files I have to use sudo permissions and have to type my password (or use sudo -i) which I do not want to do.
All I want is to know if I can somehow make lampp use the code that is residing in a folder not located under /opt/lampp/
. I tried giving full path and using a '..' relative path - both did not seem to work.
Or is it okay to do my work in /opt/lampp/
folder by using sudo all the the time?