PHP setlocale() in Slackware

Posted by in Hosting

In order to get the PHP function setlocale() to work in Slackware you need some libraries installed:


I’m using Slackware 14.1 (64bit), sooo:

# wget
# wget
# installpkg glibc-2.17-x86_64-11_slack14.1.txz
# installpkg glibc-i18n-2.17-x86_64-11_slack14.1.txz

How-to change default document root for Synology Web Station

Posted by in Hosting

If you are enabling the Web Station package for Synology in order to use the file stastion as a web server and don’t want to use a hostname/virtual host to access your web pages, you can easily change the default document root (e.g http://ip-to-synology-nas:80).

  1. Enable SSH access to the NAS. Controlpanel/Terminal/Enable SSH-service.
  2. Login to you NAS via SSH and your admin account.
  3. sudo su (same password as admin)
  4. cd /var/services
  5. rm web (default a soft link to /volume1/web)
  6. ln -s /volume1/your share/new www root/ web
  7. Done!

Feeling a little Trumpen

Posted by in Lagom

The white house are still using Drupal. There’s hope.

But maybe you should consider an upgrade to version 8, dear Mr. Trump.
That would make America even more great!