change owner of lampp htodcs folders code example Example: chmod 777 ubuntu xampp sudo chmod -R 777 /opt/lampp/htdocs