Har provat med:
http://www.apachefriends.org/f/viewtopi ... 7&p=141169
Men många kommandon funkar inte.
Exempel.
Dessa med fet stil.
Markerar några.
---------------------------------------------------------------------------------------------------------------------------
Open a terminal.
Once the terminal has loaded, type “sudo chown -hR root /opt/lampp“. (Note: replace /opt/lampp with the XAMPP install director(y.
(Update from comment #7, untested) Type “sudo chmod -R 777 /opt/lampp“.
Restart XAMPP with “sudo /opt/lampp/lampp restart“.
Exit the terminal (right-hand corner X or type exit).
Alternate solution for those who could not get the above working:
Re-download the LAMPP package from
http://www.apachefriends.org/. (wget
http://downloads.sourceforge.net/source ... 7.1.tar.gz -O /tmp/xampp-linux-1.7.1.tar.gz)
Navigate to /opt/lampp/htdocs (or where-ever you store your documents) and back it up to another location. (mkdir /tmp/htdocs followed by cp -r /opt/lampp/htdocs/*/tmp/htdocs/)
(optional) Also back up the configuration directory and the phpmyadmin configuration (mkdir /tmp/etc followed by cp -r /opt/lampp/etc/*/tmp/etc/ followed by cp /opt/lampp/phpmyadmin/config.inc.php /tmp/)
Delete the entire LAMPP tree (sudo rm -rf /opt/lampp)
Re-extract the LAMPP tree from root (
tar xvfz /tmp/xampp-linux-1.7.1.tar.gz -C /opt)
Restore htdocs folder to /opt/lampp (
sudo cp -r /tmp/htdocs/* /opt/lampp/htdocs/)
(optional) Restore configuration folder and phpmyadmin config (sudo cp -r /tmp/etc/* /opt/lampp/etc/ followed by sudo cp /tmp/config.inc.php /opt/lampp/phpmyadmin/config.inc.php)