Results 1 to 1 of 1
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-20-2012 #1Just Joined!
- Join Date
- Oct 2012
- Posts
- 1
(8)Exec format error: exec failed (php-fcgi-starter)
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...
- Installed apache, suexec, php5 and php5-cgi
- Set up the directories to match my needs
- Set up the vHost and receiving an Internal Server Error
/var/log/apache2/suexec.log says
Directories in /var/www/localhost/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)
In /var/www/localhost/php-fcgi/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
Content of the php-fcgi-starter:Code:-r-xr-xr-x 1 webuser webuser 116 Oct 20 18:11 php-fcgi-starter
I really don't know why I keep getting the suexec error 8... maybe I'm blind, I don't know.Code:!#/bin/sh PHPRC="/var/www/localhost/conf/" export PHPRC export TMPDIR=/var/www/localhost/tmp exec /usr/bin/php5-cgi
Does anyone see the problem?
Thanks alot!


Reply With Quote
