I've installed Xampp on Windows before with no problems, but now I'm using Ubuntu 8.10 and have problems with file permissions - I've only been using Ubuntu for a short time, so I'm not very experienced!
I installed Xampp and got the localhost page OK, which showed everything running as I expected. I then wanted to install Joomla, but I got "permission denied" when I tried to copy the extracted Joomla folder into htdocs. I thought I needed to change the owner so that I could copy stuff in, which I did with chown. But now http://localhost/ (and http://localhost/xampp) gives this error message:
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
My permissions show as:
-rw-r--r-- 1 dianne root 30894 2007-05-11 13:40 favicon.ico
-rw-r--r-- 1 dianne root 163 2003-10-31 21:15 index.html
drwxr-xr-x 2 dianne dianne 36864 2008-12-06 19:07 joomla15
drwxr-xr-x 2 dianne root 4096 2004-12-26 10:30 webalizer
drwxr-xr-x 7 dianne root 4096 2008-06-10 11:28 xampp
Before I make things worse I thought I'd better get some expert advice. Do I need to change the joomla15 folder permissions to dianne/root, to match xampp permissions?
TIA