gencom97 Posted May 26, 2010 Share Posted May 26, 2010 Hello. This is my first post (second, actually, if the introduction counts ). I'm a newbie, so please go easy on me. I used to make my codes easily in xampp for windows. But things went a little dizzy for me when I'm trying to use xampp on linux 10.04 lucid lynx. I've browsed the net and found that version 1.7.1 should give me less trouble. The xampp installation went fine. The http://localhost/xampp page looks good. I copied my files from my windows xampp/htdocs folder(I'm using dual OS, windows XP and lucid), it copied well. But as I started to browse it, my browser (firefox 3.6.3) says Access Forbidden. I'm confused, and I tried starting firefox as root (sudo su-> firefox), but it still says Access Forbidden. Would anybody please help me solving this problem? Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/ Share on other sites More sharing options...
trq Posted May 26, 2010 Share Posted May 26, 2010 Ubuntu has a package manager that is perfectly capable of installing the amp stack. Did you use it to install xampp? Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1063403 Share on other sites More sharing options...
RichardRotterdam Posted May 26, 2010 Share Posted May 26, 2010 The xampp installation went fine. The http://localhost/xampp page looks good. Reading that it does seem the installation went well. I copied my files from my windows xampp/htdocs folder(I'm using dual OS, windows XP and lucid), it copied well. But as I started to browse it, my browser (firefox 3.6.3) says Access Forbidden. I'm confused, and I tried starting firefox as root (sudo su-> firefox), but it still says Access Forbidden. Would anybody please help me solving this problem? Since youre xampp splash page seems to do just fine the server should be fine too. This however has nothing to do with your browser. Try any other browser you'll prob get the exact same thing. Most likely the trouble occured when you coppied the htdocs files from windows to your linux htdocs folder. Try setting the write permissions for your files in the htdocs folder. Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1063481 Share on other sites More sharing options...
gencom97 Posted May 30, 2010 Author Share Posted May 30, 2010 If tried chown htdocs/my directory but my browser still says no. Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1065230 Share on other sites More sharing options...
trq Posted May 30, 2010 Share Posted May 30, 2010 Who exactly did you change the owner too? Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1065231 Share on other sites More sharing options...
gencom97 Posted May 30, 2010 Author Share Posted May 30, 2010 I tried chown -R myname myfolder And I'm running firefox from myname. Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1065248 Share on other sites More sharing options...
trq Posted May 30, 2010 Share Posted May 30, 2010 The directories in question need to b accessible to the user that Apache runs under. None of these problems would exist if you would use Ubuntu's package manager to install php, apache and mysql. Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1065270 Share on other sites More sharing options...
gencom97 Posted May 30, 2010 Author Share Posted May 30, 2010 OK. I've removed my xampp. I used package manager to install apache and phpmyadmin. I moved my files to the var/www/myfiles/. Still forbidden Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1065325 Share on other sites More sharing options...
gencom97 Posted May 30, 2010 Author Share Posted May 30, 2010 IT WORKS! Thank God, it works. But I also thank you all for the suggestions. Here's the story. I removed the lampp. Then I installed apache and phpmyadmin using synaptics package manager. Then I test the apache, it works. Then I chown -R myname /var/www/ chmod -R 755 /var/www/ and voila! How stupid of me... Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1065334 Share on other sites More sharing options...
trq Posted May 30, 2010 Share Posted May 30, 2010 Not the ideal setup but working I guess. Quote Link to comment https://forums.phpfreaks.com/topic/202917-tried-to-install-xampp-on-lucid-lynx-but-things-went-wrong/#findComment-1065477 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.