in order to develop websites on my laptop, i install XAMPP on Kubuntu 16.04.
Now i'm facing a strategic choice in order to make synchronization with my other computer easy and a clear way to work.
i know that /opt/lampp is only accessible to root user.
However, i do not want to always work with root user so i know i can create a symbolic link from /opt/lampp/htdocs to my /home/alain/www/myproject directory for example.
in this case it allows me to create and edit file and directory in my home as user 'alain' without any problem.
let's take an example. if i want to install wordpress, due to write access and permission it can not modify/create a wp-config.php file even if it's in my home/alain/www/project folder.
therefore i wonder if this is the best approach to work.
Using proftp with daemon user does not have write access anyway to /opt/lampp/htdocs directory.
So i want to have a flexible way to work and to make synchronization fo /opt/lampp (and why not or /home/alain) as easy as possible between my 2 computers.
So any idea what should be the best approach ?