Page 1 of 1

permission denied and mysql not running

PostPosted: 01. July 2008 04:40
by stitches
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

PostPosted: 20. August 2008 03:25
by biztastic
I am running xampp on ubuntu as well, so far it seems to work fine for me. Did you extract it correctly using the command provided
Code: Select all
After downloading simply type in the following commands:

   1. Go to a Linux shell and login as the system administrator root:

      su

   2. Extract the downloaded archive file to /opt:

      tar xvfz xampp-linux-1.6.7.tar.gz -C /opt

      Warning: Please use only this command to install XAMPP. DON'T use any Microsoft Windows tools to extract the archive, it won't work.