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.

Lighttpd x64 Unraid 6

Featured Replies

I want to install a httpd so I can start testing the unRAID GUI I'm working on, how would I go about installing something light like lighttpd or nginx on unRAID 6?  All the packages I've seen seem to be for unRAID 5 and x86 rather than x64.

dont forget to edit the config

 

mc /etc/httpd/httpd.conf

  • Author

Thanks pyrater, I'm getting the following though:

 

root@Tower:/etc/httpd# apachectl start

/usr/sbin/httpd: error while loading shared libraries: libaprutil-1.so.0: cannot open shared object file: No such file or directory

 

  • Author

Ok, re-installed it using trolley and used trolley to instal the deps, only problem now is it looks like its installed without php =/

 

And trying to install php results in:

 

root@Tower:/etc/httpd# trolley install php

=> Downloading php (5.4.24 x86_64)

=> Installing

/usr/local/boiler/trolley/lib/trolley/cli.rb:102:in `install': undefined method `>' for nil:NilClass (NoMethodError)

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/command.rb:27:in `run'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/invocation.rb:121:in `invoke_command'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor.rb:363:in `dispatch'

        from /boot/custom/gems/ruby/1.9.1/bundler/gems/thor-d9d26adcd3ee/lib/thor/base.rb:440:in `start'

        from /usr/local/bin/trolley:13:in `<main>'

Killed

 

oOoo I think I have it up and running :D

  • Author

meh, it complained about libphp5.so missing, so I installed php 5 with trolley install php but that broke the default webgui

You can try a personal plugin I use for Apache but its not complete. Its in my github in my signature.  Its for unRAID 6 beta 3 and above only. It will work but the only variable from the plugin page that it uses is the httpd.conf location. You can input the Document Root directory and port but they will not be updated in your httpd.conf file. You still have to edit your conf file manually.  I just placed /etc/httpd/httpd.conf  in /boot/config/plugins/apache and edited the Listen, Servername, DocumentRoot and Directory and uncommented "Include /etc/httpd/mod_php.conf"  I run my unraid web page on port 88 and apache on 80.  The plugin downloads the php packaged but just moves the missing php lib.

 

https://github.com/dmacias72/unRAID_6.0/blob/master/apache_64.plg

 

  • Author

the php version on unraid is 5.4.20 so it might be possible to use php 5.4's built in web server, I will give it a go, if so, nothing will need to be installed

I'm not sure you can use the built in php web server without breaking the unRAID web page.  The plugin I made works, it just doesn't update the port and document root from the plugin web page. You have to edit your conf manually. If someone wants to write the sed commands to parse and write to https.conf it would be complete. I just haven't had time.

  • Author

built in web server works absolutely fine, just cd to the directory then type:

 

php -S 192.168.0.5:8888

 

where 192.168.0.5 is the ip of the tower and 8888 is the port you want it to run on, certainly for testing it works fine, not yet sure how to get sqlite working with it though (php reports sqlite3 class not found so I guess the php isn't compiled with sqlite support), could probably install mysql but trying to keep it as light as possible.

I'll have to try it out.  Where is the document root located? And can you change to use a permanent location.

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.