Forum Moderators: coopster
/bin/sh: /var/www/vhosts/example.com/httpdocs/mailcontroller.php: /usr/bin/php
: bad interpreter: No such file or directory
I think the mail alias I set up in qmail is working correctly because when it wasn't I didn't get a script error back, just a user not found error.
From the error it sounds like it's not able to find php but I've tested a script from the command line to that path and it works fine (php is running as CGI btw, rather than CLI). Could it be something with the line breaks in my php file? I'm guessing that it's making it all the way to mailcontroller.php because I don't have the /usr/bin/php path anywhere else but in that file.
Any help would be greatly appreciated. I'm running PHP Version 4.3.9 on a linux box with Plesk 8.2
Not sure about that. Are you having trouble parsing any of your other scripts in the same manner?