Check if both sites using same php.ini file. Check sendmail_path in phpinfo().
Check if both sites using same php.ini file. Check sendmail_path in phpinfo().
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
[email protected]
Both are using the same php.ini file (/usr/local/Zend/etc/php.ini) and both also have the same sendmail_path in the PHPInfo page (/usr/sbin/sendmail -t -i)
This is totally frustrating!
Create a test script
test.php
Upload the file to server, run it by going to urlCode:<?php mail("[email protected]","Testing","Testing"); echo "finished at " . time(); ?>
http://yourdomain.extn/test.php
See if it can send mail. Also check mail server log if there any entry when you access the page.
I only faced similar problem with wrong php.ini settings. So double check phpinfo show same setting for both sites.
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
[email protected]
Test email script worked successfully. I was watching the maillog and all came through as normal without issue.
I also just verified that the only difference in the PHPInfo between the two sites are the directories in which they are stored on the web server.
UGH!
ALSO - while watching the mail log file, I submitted a item to the working site and saw the email go out in the log. I then tried it in the non-working site and the log shows nothing; the emails aren't even getting to the mail server, they are failing at some point before.
Are you using any control panel or you edit httpd.conf ? Both virtualhost entry's are similar ?
vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
[email protected]
The sites are hosted locally in our data center so I have access to the physical machine and apache configurations. The sites themselves are ran on the same domain, therefore there is not multiple virtual directories in the httpd.conf.
SITE #1 - www.domain.com/vgallery
SITE #2 - www.domain.com/igallery
Bookmarks