newbie_dude Posted May 14, 2013 Share Posted May 14, 2013 Unfortunately, if I do, ./lampp startapache, I get the following error: root@Tower:/opt/lampp# ./lampp startapache XAMPP: Another web server daemon is already running. Which makes sense ... because another web server is already running. So I tried changing the listenport: # # Listen: Allows you to bind Apache to specific IP addresses and/or # ports, instead of the default. See also the <VirtualHost> # directive. # # Change this to Listen on specific IP addresses as shown below to. # prevent Apache from glomming onto all bound IP addresses. # #Listen 12.34.56.78:80 Listen 9900. But I get the same error Is there a way to run lampp? I would really like to have a simple web server with php and mysql. Thanks for the help! Quote Link to comment
SlrG Posted May 14, 2013 Share Posted May 14, 2013 Are you sure you need to only put the port in this line and a dot after it? I would try with Listen 127.0.0.1:9900 or Listen localhost:9900 And why not use mysql plugin and lighttpd plugin? Quote Link to comment
newbie_dude Posted May 14, 2013 Author Share Posted May 14, 2013 Unfortunately, that did not work either. I tried other variations (127.0.0.1:port, localhost:port and tower:port). I thought about lighthttpd, but it's already installed (from what I can see in pkg manager) and I didn't know how to access that installation to run my own applications. I have shell in a box, simplefeatures and unmenu installed. Is lighthttpd needed for one of them? I really wanted to get xampp up and running since I have a mac and windows machine running xampp and wanted to be able to use the same setup in unraid. Quote Link to comment
newbie_dude Posted May 15, 2013 Author Share Posted May 15, 2013 Just removed unraid-web and still getting the same error Quote Link to comment
mayhem2408 Posted June 7, 2013 Share Posted June 7, 2013 OK. Got mine working fine on unraid. Had to make a few other changes. 1/ Edit file /opt/lampp/lampp Line 197 will read "if testport 80" Change it to what ever port you want. I changed mine to "if testport 888" 2a/ Edit file /opt/lampp/etc/httpd.conf Line 52 will read "Listen 80" Change it to the same port you used in the lampp file. I changed mine to "Listen 888" 2b/ Same file, go to line 205 Line 205 will read "ServerName localhost" Add the port at the end. I changed mine to "ServerName localhost:888" From here you will be able to start the apache server using the "./lampp start" command However you will not be able to configure the MySQL server using the myphpadmin page as you get an access denied error So you need to change the following. 3/ Edit file /opt/lampp/etc/extra/httpd-xampp.conf Line 14-19 will read # since XAMPP 1.4.3 <Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Order allow,deny Allow from all </Directory> Change it to # since XAMPP 1.4.3 <Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted # ADDED LINE </Directory> So far it is all working for me. Let me know how you go. Quote Link to comment
newbie_dude Posted July 10, 2013 Author Share Posted July 10, 2013 Thanks for the breakdown! I started the modifications and it seems to work. Are you linking it to /opt? I get "too many levels of symbolic links" when I link with LN -S /opt. Do I have to copy the lampp folder to /opt every time the server starts? Also, tower:888 didn't work. Is there something I'm doing wrong? I'll post the detailed messages when I get home. Thanks again for your help!! Quote Link to comment
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.
Note: Your post will require moderator approval before it will be visible.