📜 ⬆️ ⬇️

XAMPP in Linux and virtual hosts

Actually for those who write to php and use Linux, and who are too lazy to configure LAMP themselves, a small note.

So, we go here , we swing and we put according to the instruction ( put exactly in opt! ). Everything is good, everything works, only there are no virtual hosts - it is bad. Go to /opt/lampp/etc/httpd.conf and uncomment the line to include etc / extra / httpd-vhosts.conf (although you can just add hosts to the config, but this is non-kosher). Now in the corresponding file you can add everything we need, but why do it with your hands if you can hang the task on the script? We add in / opt / lampp / lampp work with httpd-vhosts.conf and hosts. The resulting script download from here (link at the end)

')

Source: https://habr.com/ru/post/30563/


All Articles