Hi... I'm trying to create a single vHost on my testserver (I'm using a raspberry pi with debian wheezy)

So I was reading wiki.carrot-server.com/userdokus/apache_php_fcgi (yes... it's my first post, so I can't insert links ) (german) and did what it says...

  1. Installed apache, suexec, php5 and php5-cgi
  2. Set up the directories to match my needs
  3. Set up the vHost and receiving an Internal Server Error


/var/log/apache2/suexec.log says
Code:
[2012-10-20 18:17:37]: uid: (1002/webuser) gid: (1002/webuser) cmd: php-fcgi-starter
[2012-10-20 18:17:37]: (8)Exec format error: exec failed (php-fcgi-starter)
Directories in /var/www/localhost/
Code:
dr-xr-x--- 2 webuser webuser  4096 Oct 19 23:33 conf
drwxrwxr-x 2 webuser webuser  4096 Oct 20 18:08 htdocs
drwxrwx--- 2 webuser www-data 4096 Oct 19 23:23 log
dr-xr-xr-x 2 webuser webuser  4096 Oct 20 18:11 php-fcgi
drwxr-x--- 2 webuser webuser  4096 Oct 19 23:05 tmp
In /var/www/localhost/php-fcgi/
Code:
-r-xr-xr-x 1 webuser webuser 116 Oct 20 18:11 php-fcgi-starter
Content of the php-fcgi-starter:
Code:
!#/bin/sh
PHPRC="/var/www/localhost/conf/"
export PHPRC
export TMPDIR=/var/www/localhost/tmp
exec /usr/bin/php5-cgi
I really don't know why I keep getting the suexec error 8... maybe I'm blind, I don't know.

Does anyone see the problem?
Thanks alot!