Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Installing XAMPP in unraid

Featured Replies

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!

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?

  • Author

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.

  • Author

Just removed unraid-web and still getting the same error :(

  • 4 weeks later...

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.

  • 1 month later...
  • Author

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!!

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.