F
fishnyc22
Guest
I've been struggling with this for way too long. Can anyone explain what i'm doing wrong here:
I've set my .qmail file to look like this:
or
and my php file simply as:
I'm getting this error:
May 15 01:25:29 as qmail: 1179206729.939189 delivery 2: deferral: No_input_file_specified./
When i try and switch it around:
.qmail looks like this
php file looks like this
When set up like this my error is:
May 15 01:37:36 as qmail: 1179207456.473053 delivery 1: deferral: /bin/sh:_/var/www/vhosts/domain.com/httpdocs/_phpcgi/test.php:_Permission_denied/
I'm running plesk 8.1 on Fedora, My permissions are as follows:
-rwxr-xr-x 1 ftpuser psacln 98 May 15 01:37 test.php
and for qmail:
-r-------- 1 popuser popuser 73 May 15 01:36 .qmail
Any help is really appreciated. Is this the latest method or is there some other way to get this going?
I've set my .qmail file to look like this:
Code:
|/etc/bin/php -q |/var/www/vhosts/domain.com/httpdocs/_phpcgi/test.php
Code:
|/etc/bin/php |/var/www/vhosts/domain.com/httpdocs/_phpcgi/test.php
and my php file simply as:
Code:
<?php
// Send
mail('[email protected]','test subject', 'my message goes here');
?>
I'm getting this error:
May 15 01:25:29 as qmail: 1179206729.939189 delivery 2: deferral: No_input_file_specified./
When i try and switch it around:
.qmail looks like this
Code:
|/var/www/vhosts/domain.com/httpdocs/_phpcgi/test.php
php file looks like this
Code:
#!/usr/bin/php -q
<?php
// Send
mail('[email protected]','test subject', 'my message goes here');
?>
When set up like this my error is:
May 15 01:37:36 as qmail: 1179207456.473053 delivery 1: deferral: /bin/sh:_/var/www/vhosts/domain.com/httpdocs/_phpcgi/test.php:_Permission_denied/
I'm running plesk 8.1 on Fedora, My permissions are as follows:
-rwxr-xr-x 1 ftpuser psacln 98 May 15 01:37 test.php
and for qmail:
-r-------- 1 popuser popuser 73 May 15 01:36 .qmail
Any help is really appreciated. Is this the latest method or is there some other way to get this going?