T
tha_mink
Guest
PHP QMAIL Issues NOW FIXED~!!!
We are attempting to migrate from our old non-Plesk server to our new Plesk server (Fedora core-[3?]) and can't seem to get PHP to find the qmail wrapper for sendmail.
I can see the wrapper at /usr/sbin/sendmail which points to /var/qmail/bin/sendmail and everything is chmoded the way it should be but when you ask php if that file exists, you get a false return.
So...
Returns "No Qmail". In addition, php's native mail() funcition doesn't work. PHP.INI is reporting sendmail path to be correct to the qmail wrapper.
Can't seem to figure this one out. I've even tried to send mail with PEAR's mail classes to no avail.
Anyone?
We are attempting to migrate from our old non-Plesk server to our new Plesk server (Fedora core-[3?]) and can't seem to get PHP to find the qmail wrapper for sendmail.
I can see the wrapper at /usr/sbin/sendmail which points to /var/qmail/bin/sendmail and everything is chmoded the way it should be but when you ask php if that file exists, you get a false return.
So...
PHP:
<?
include("inc/testHead.php");
if (@file_exists("/usr/sbin/sendmail")==true){
print"<p>Got Qmail</p>";
}else{
print"<p>No Qmail</p>";
}
include("inc/testFoot.php");
?>
Returns "No Qmail". In addition, php's native mail() funcition doesn't work. PHP.INI is reporting sendmail path to be correct to the qmail wrapper.
Can't seem to figure this one out. I've even tried to send mail with PEAR's mail classes to no avail.
Anyone?