hi all..
i have installed xampp on my machine (ubuntu) and currently, i have two problems with it... -_-
1. when i typed in the address bar http://localhost, it was redirecting to http://localhost/xampp but i can see an error message that says...
Warning: file_get_contents(lang.tmp) [function.file-get-contents]: failed to open stream: Permission denied in /opt/lampp/htdocs/xampp/index.php on line 2
Warning: Cannot modify header information - headers already sent by (output started at /opt/lampp/htdocs/xampp/index.php:2) in /opt/lampp/htdocs/xampp/index.php on line 4
2. i run the xampp server by typing in the command line sudo ./lampp start which starts everything, but when i look at http://localhost/xampp/status.php, it says that my mysql is not running.
how can i solve these problems? thanks in advance