Well, turns out you have to do the following:
1) Install PHP framework with this command:
opkg install php php-cgi php-cli
2) Install the daemon worker with this command
opkg install php-fpm
3) Make sure you have the PCRE library installed. If not, install it using command:
opkg install libpcre libpcre-dev
...and recompile Nginx, if you had to install PCRE, otherwise Nginx does not recognize PCRE.
4) In your nginx.conf, edit the fastcgi_param variable from:
SCRIPT_FILENAME /scripts$fastcgi_script_name;
to:
SCRIPT_FILENAME /path-to-your-site$fastcgi_script_name;
There are many tutorials on getting Nginx to serve PHP, but the above details were hard to find for me.
- Torsten