This is an old question but I haven't seen it properly answered yet. Here is what you need to do:
- Install XAMPP in Windows and LAMPP in Ubuntu
- Boot into Ubuntu and record your Windows htdocs folder (say
/media/user/OS/xampp/htdocs
) - Go to
/opt/lampp/etc
and edithttpd.conf
and make the following changes (you will need root permissions to do so) - Replace
by#DocumentRoot "/opt/lamp/htdocs"
#DocumentRoot "/media/user/OS/xampp/htdocs"
- Replace
byDirectory "/opt/lampp/htdocs"
Directory "/media/user/OS/xampp/htdocs"
-
In the
section replaceIfModule unixd_module
byUser daemon Group daemon
User yourUsername Group yourGroupname
Typically yourUsername and yourGroupname are the same: the name of your Ubuntu user but you can check this out in/etc/passwd
and/etc/groups
-
Restart LAMPP services and you should be good to go.