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
|