firespydr
December 9th, 2008, 12:18 PM
This is the message I received when opening localhost
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/xampp/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
I am running Ubuntu 8.10, Xampp 1.6.8.a. Just installed then setup security by running. sudo /opt/lampp security
I then tested and was asked for the username and password which it accepted. I then copied my backup htdocs folder to the /opt/lampp folder. I could not access the files, received a 403. Thinking it might be the xampp security settings, I deleted the opt/lampp folder. I then ran the command:
sudo tar xvfz xampp-linux-1.6.8a.tar.gz -C /optto reinstall xampp. The process ran without error. This time I did not change the security settings. I ran the command sudo /opt/lampp start to start the server and received the all clear
Starting XAMPP 1.6.1...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
I tested by typing in localhost in the browser (Firefox) got the xampp pages to show up. I then again copied my files from my mounted external hdd and now I get a:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/xampp/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
Any help would be appreciated.
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/xampp/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
I am running Ubuntu 8.10, Xampp 1.6.8.a. Just installed then setup security by running. sudo /opt/lampp security
I then tested and was asked for the username and password which it accepted. I then copied my backup htdocs folder to the /opt/lampp folder. I could not access the files, received a 403. Thinking it might be the xampp security settings, I deleted the opt/lampp folder. I then ran the command:
sudo tar xvfz xampp-linux-1.6.8a.tar.gz -C /optto reinstall xampp. The process ran without error. This time I did not change the security settings. I ran the command sudo /opt/lampp start to start the server and received the all clear
Starting XAMPP 1.6.1...
LAMPP: Starting Apache...
LAMPP: Starting MySQL...
LAMPP started.
I tested by typing in localhost in the browser (Firefox) got the xampp pages to show up. I then again copied my files from my mounted external hdd and now I get a:
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/opt/lampp/htdocs/xampp/index.php' (include_path='.:/opt/lampp/lib/php') in Unknown on line 0
Any help would be appreciated.