dar permiso a htdocs sudo

sudo chmod 777 -R /opt/lampp/htdocs
TechieSakar