Andreas Rydberg

Home

PHP

Installing Lighttpd on Ubuntu 11.10

Andreas — Sun, 2011-11-20 00:07

When installing Lighttpd on Ubuntu 11.10 remember to enable "fastcgi-php" as well. After an hour of googling I still couldn't get PHP to work. I created an empty index.php in the webroot (/var/www) and got "403 - Forbidden".

  • PHP
  • Ubuntu
  • Add new comment
  • Read more

PHP best practice tip: commas in arrays

Andreas — Sat, 2009-01-10 03:18

Something I discovered by accident. The array() constructor allows a comma (,) after the last item. This helps me and saves me time by avoiding bugs. I'll show you...

  • PHP
  • Add new comment
  • Read more

Add language and import translations through profile in Drupal 6

Andreas — Sat, 2009-01-03 01:27

UPDATE: this post is deprecated. Please read Add translation during the installation - the proper way instead.

At work were developing sites almost exclusively in Drupal 6, except for our own self developed E-business solution. Most of our site are in swedish, so I've found a way to add swedish and import all the available .PO-files. I do this in our own installation profile.

  • PHP
  • Drupal
  • Add new comment
  • Read more
Syndicate content

Blog posts

2011.12.16
Appland launched
2011.12.09
Learning Java, again - part 1
2011.11.20
Installing Lighttpd on Ubuntu 11.10
2011.03.15
New job and Aegir
2010.11.16
Acquia Drupal stack installer
  •  
  • 1 of 3
  • ››
Syndicate content

Powered by Drupal, an open source content management system