LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Starting xampp during bootup on Suse 10.1 (https://www.linuxquestions.org/questions/linux-newbie-8/starting-xampp-during-bootup-on-suse-10-1-a-447208/)

dynax 05-21-2006 09:46 PM

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!
djn@fria:~>
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.

Regards

BobNutfield 05-22-2006 03:33 PM

Hi

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.

Bob


All times are GMT -5. The time now is 07:14 PM.