Page 1 of 1

localhost problem

PostPosted: 16. September 2007 17:52
by lux28
Hi
I am a new user.
I have installed xampp-linux-1.6.3b.tar.gz on my ubuntu 7.04.

installation all right! Well.
I start Xampp in this way from shell:

sudo /opt/lampp/lampp start

But I have a problem.
If I copy a file php in directory htdocs and I start firefox and I write the local andress for example:

http://localhost/moon.php

I see this error message in the browser.

Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0

Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/morse.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0

very strange!!

Because
http://localhost/xampp/index.php
it is ok

Can you help me?