Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-21-2006, 10:46 PM   #1
LQ Newbie
Registered: May 2006
Distribution: Suse 10.1
Posts: 1

Rep: Reputation: 0
Starting xampp during bootup on Suse 10.1

Hi everyone
I have installed Suse 10.1 for providing a development environment for php controlled web applications, and a repository for my photographs..
I installed xampp and have more or less got it running, but having to go to the terminal and switch to su to start it is irritating. So after some research I created a /etc/bashrc.local file and had it add the /opt/lampp:/opt/lampp/bin:/opt/lampp/htdocs to the $PATH. I also included the lampp start statement to start up xampp.
This didn't do what I expected.
Firstly echo $PATH in the terminal showed that the appended paths were added to the $PATH twice, and xampp did not start.
Further research culminated in my moving the PATH append statement to the /etc/profile.local file.
Now $PATH returns correctly but xampp does not start.
When I start the terminal I get
You need to start XAMPP as root!
As soon as I enter su and enter the password - xampp starts.

So how do I get xampp to start. Where do I put the lampp start starement.

Old 05-22-2006, 04:33 PM   #2
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Rep: Reputation: 52

I understand what you are trying to do, but it seems like to simple an answer to suggest that you need to change the permissions for xampp. When you start your system, unless you have an automatic login as root (which I highly recommend against), xampp won't start with the permissions that exist.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access permission problems in XAMPP in SuSE 9.1 ClarkNG Linux - Newbie 1 07-21-2006 12:31 AM
starting programs on bootup mantonr Linux - Newbie 2 05-30-2005 10:07 AM
XAMPP Problem on SuSe 9 coowboy Linux - Software 0 05-20-2005 06:03 PM
daemons starting on bootup papajohns AIX 4 08-04-2004 02:27 PM
Starting services at bootup Lucasite Linux - Newbie 5 04-17-2004 03:08 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:09 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration